Matlab Opensource Alternative Octave

Matlab Opensource Alternative Octave

I just need matlab for my image processing course. However I don’t have any matlab license. And it was slow when I tried to use it. Fortunately, I found Octave which works well on my Ubuntu. 

Steps for installing:

sudo apt-add-repository ppa:octave/stable
sudo apt-get update
sudo apt-get install octave

then you need to install octave image package:

download

then copy paste it to /home/username/octave

open octave , switch to command window and enter :

pkg install /home/username/octave/image-2.4.1.tar.gz

probably you will have a warning, so install this package :

sudo apt-get install liboctave-dev

after installing , go to octave command window and try to install again

and don’t forget to load image package before you try to work with image processing functions:

pkg load image

have fun!