Octave – The FOSS Mathlab clone

February 17, 2009 at 3:00 pm (linux apps) (, , , , , , )

This article is about installing octave and it’s plugins on linux

Qtoctave 0.8 on FC9, Gnome

Qtoctave 0.8 on FC9, Gnome

I guess you people have heard of mathlab. If you’re a student doing higher education on maths-based stream, you have had to use mathlab in your programs. Octave is the most mathlab like program you find on FOSS cloud. It accepts basic mathlab commands. It can even install mathlab toolboxes and  run and edit .m files ! Wow this is amazing

You can install octave from source from here ftp://ftp.octave.org/pub/octave/octave-3.0.3.tar.gz

You should go and check out their website and also my article on installing from source and the dependencies you need. Rpmfind have rpm packages for fedora and suse.

some basic commands on octave: (type and see)

octave:1> 2+5 (press enter and you’ll get)

ans = 7

octave:2> x=[1:0.1:10];

octave: 3> y=sin(x);

octave:4> plot (x,y)     ‘you’ll see the grapg of sin(x) !

——————————————————————————————————————————–

Recommended GUI – Qtoctave

You may wondered where the hell is the gui ! You’ve to install it seperately. Only dependency is that you should have Qt4 + and octave installed. Click on this link to go to the download page. Else you can try Rpmfind. (type qtoctave)

Plugins for octave

_________________________________________________________________________

YAPSO (Yet Another Plotting System For Octave)

An rotating output (plot) from yapso

An rotating output (plot) from yapso

By default, octave will use GNUPLOT which is fast but not nice. Installing yapso will increase the “mathlab – likeness” of octave plots. Installing is simple; you should download the source tarball from this link; and run octave in command line by typing octave.When octave command prompt is there, type

octave:1> pkg install /<path to downloaded file>/<file name> ‘example        pkg install /mnt/yapso-0.3.4.tar.gz

if dependencies are ok and no compile errors, pckage will install. Restart octave (type exit to exit) and type

pkg load yapso

to load yapso as default plotter, else GNUPLOT will work as plotter. Go to this page for some examples. Type pkg unload yapso to return to GNUPLOT.

Octave-fltk : a GUI builder for octave !

octave-fltk GUI developer

octave-fltk GUI developer

As you know mathlab can build GUI programs using VB.net core. This plugin enables you to use fltk graphics library for GUI creation. Download source from here Use usuall compile methods to make the package.

there are so many other packages like nnet, mataa and ltfat. You can sure try those!

Advertisements

4 Comments

  1. Suresh said,

    Thanks for the info. These add-ons improve the experience very much.

  2. Taeyoung said,

    Thanks for your posting. Useful for me!

  3. Octave – The FOSS Mathlab clone (via Malshan’s Linux Blog) « Taeyoung Kim's Blog said,

    […] Octave – The FOSS Mathlab clone (via Malshan’s Linux Blog) By Taeyoung This article is about installing octave and it's plugins on linux I guess you people have heard of mathlab. If you're a student doing higher education on maths-based stream, you have had to use mathlab in your programs. Octave is the most mathlab like program you find on FOSS cloud. It accepts basic mathlab commands. It can even install mathlab toolboxes … Read More […]

  4. jmnv said,

    https://sites.google.com/site/guioctave/

    GUI Octave is a Graphical User Interface for the GNU Octave high-level language.

    GNU Octave is a pretty strong interpreted language to solve linear and non-liner problems. However, the biggest drawback is that it has a command line version only.

    This problem is solved by GUI Octave. It provides a free GUI for GNU Octave that lets you easily work with GNU Octave in a familiar UI, without worrying about the command line interface.

    GUI Octave is totally free. It runs on Windows 95/98/ME/NT/2000/XP/Vista/7.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: