Posts

Showing posts from May, 2018

Installing and loading packages in GNU Octave

Image
Installing packages in GNU Octave GNU Octave, unlike Matlab, does not come with preinstalled toolbox (or packages) and hence it is necessary to install packages in GNU Octave. You can find different packages by clicking here . You can install packages as required. Since we are working with images, we will require the image package. You can install the image package by executing following command in the Ubuntu terminal: sudo apt-get install octave-image Find packages installed in GNU Octave GNU Octave will install interdependent packages during installation. Once installed you can find the list of packages installed in your Octave by executing following command in the command window of GNU Octave: pkg list Finding package list installed in Octave Loading package in GNU Octave You can load a certain package by executing following command in the command of GNU Octave: pkg load image

Basics of GNU Octave

Image
Now have we installed GNU Octave, let's jump right into the basics of the software. You can open your GNU Octave through the application window by searching GNU Octave or through terminal by running a simple command: sudo octave The basic graphical user interface (GUI) will look somewhat as shown in the figure below(may vary if changed): GNU Octave GUI The basic windows that you observe are: 1. The command Window 2. Command History 3. File Browser 4. Workspace 5. And the menu bar