Octave Installation Instructions for Windows

1) Download Octave
Download Octave from the www.gnu.org/software/octave web site.  At the time this document
is being written the latest release is 4.2.0.  There are installer and archive (zip) versions
of the software for both the 32-bit and 64-bit versions of Windows.  I will describe
installing the installer version for 64-bit windows, so the appropriate file to download
is octave-4.2.0-w64-installer.exe.  (Instructions for the 32-bit version of Windows is similar.)

To determine if you have the 32-bit or 64-bit version of Windows 10: In the File Explorer
window right-click on the "This PC" icon and select "Properties" from the menu.  In the
window that appears look for the "System type" entry under the "System" section of the
window. It should say either "32-bit Operating System" or "64-bit Operating System". Download
the appropriate version of Octave for your operating system.

2) Install Octave
After the installer file finishes downloading, double-click it to run it.  You may receive
a warning about Octave not being fully tested on Windows 10.  Ignore this warning and click
"Yes" to proceed with the installation.  The next window is information and just lets you
know that you are about to install Octave, click "Next" to continue.  The next window is
the License Agreement, click "Next" to continue. The next window contains Install Options,
I recommend leaving the default selections and clicking "Next".  The next window prompts
you to enter a destination folder.  The default is probably "C:\Octave\Octave-4.2.0".
I strongly recommend leaving the default value as is and clicking the "Install" button.
(There are known issues with installing Octave to a folder that has a space in any
part of the folder name so, if you do choose to change the destination folder, do not
choose a folder with a space in the folder name.) Installation should start and will take
several minutes to complete.  In the final window that appears click on the "Finish" button.
This will end installation and also start up Octave.  It will also open up an informational
window in your web browser.

3) Test Installation
The first Octave window that opens at the end of the installation process performs some
installation procedures.  Close this window and re-open Octave by double-clicking the Octave
icon on the Desktop (the GUI one).  Test your installation by entering "sombrero" at the
Octave command prompt. This should produce a plot of a three-dimensional figure in a
separate window.  The first time that this command is run on Windows, it may take several
minutes for the plot to appear and the command prompt to return.  Be patient. After the
command prompt appears, enter "peaks" to create a plot of a different figure.  Finally,
enter "image" at the command prompt to produce a low resolution image of the Octave logo.

4) Load Octave Packages
Several Octave packages are included with the Windows Octave application that has been
downloaded and installed.  You can list the installed packages by entering "pkg list" at
the Octave command prompt.  Although these packages are installed, they can't be used
until they are loaded.  You can load the statistics package by entering
"pkg load statistics".  You can verify that the statistics package has been loaded by
entering "pkg list" again.  You should now see an asterisk (*) after the statistics package
name.  The asterisk indicates that the package has been loaded.  You can list all of the
functions in the package by typing "pkg describe -verbose statistics".

To automatically load packages, create an Octave startup file name ".octaverc" in your
Octave home directory.  Your Octave home directory is the directory first opened by Octave
when Octave starts.  Add the desired "pkg load PKGNAME" commands to this file.  I recommend
automatically loading the signal, control, communications, image and statistics packages.
Restart Octave and enter "pkg list" to verify that the desired packages have been automatically
loaded.


Install UE Octave Packages

Download the archive file containing the UE Octave packages: ue_packages.zip 

Extract the files in the archive to a convenient location.

In the Octave window, use the File Browser in the upper left portion of the window to navigate to the directory containing the extracted files.

Right-click on the “install_uepackages.m” file in the File Browser.  Select “Run” from the pop-up menu.

Verify that the packages are installed by entering “pkg list” at the Octave command prompt.

After the install is complete, you can delete the folder containing the extracted files.  You can also delete the ue_packages.zip file.

Brief Description of UE Routines

Signals and Systems Routines: 
Communication Routines:
Complex Number Routines: 
Image Processing Routines:
Polynomial Routines:
Utility Routines
Statistics Routines: