GNU Octave 4
Written by Alex Armstrong   
Monday, 01 June 2015

Octave 4.0 is a major new release of a high-level interpreted language, primarily intended for numerical computations. It now uses a GUI by default, includes support for classdef object-oriented programming, has better compatibility with MATLAB, and many new and improved functions.

octavebanner

 

GNU Octave is popular as a free open source alternative to MATLAB. It provides capabilities for the numerical solution of linear and nonlinear problems, and has extensive graphics capabilities for data visualization and manipulation. 

Octave's graphical interface was introduced in the previous release (see GUI For GNU Octave 3.8) but as it wasn't quite as polished as the Octave team wanted it to it wasn't set as the default. In version 4.0 the GUI appears automatically when running Octave interactively, but there are options for those who don't want to use it. Using  --no-gui at startup you can revert to a command line interface that still allows use of the GUI dialogs and the qt plotting toolkit. The option --no-gui-libs runs a minimalist command line interface that does not link with the Qt libraries and uses the fltk toolkit for plotting.

 

guioctave3.8

 

Another major change is that Octave now uses OpenGL graphics with Qt widgets by default. However, if OpenGL libraries are not available when Octave is built, gnuplot is use and you can still choose to use the fltk or gnuplot toolkit for graphics.

A new syntax for object oriented programming termed classdef has been introduced with the following new keywords:

classdef endclassdef
enumeration endenumeration
events  endevents
methods  endmethods
properties endproperties

 

There are also new audio functions and classes and there are lots of language additions. Among them changes that provide better MATLAB compatibility with regard to ranges, diagonal matrices, and permutation matrices.


gnuoctave

 

 

More Information

GNU Octave

Changes in Version 4.0

Download GNU Octave

Changes in Version 3.8

Related Articles

GUI For GNU Octave 3.8

A Programmer's Guide To Octave 

 

To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, FacebookGoogle+ or Linkedin,  or sign up for our weekly newsletter.

 

Banner


Pico 2W Announced But There Is A Surprise!
25/11/2024

Raspberry Pi released the Pico 2 a few months ago and we have been waiting for the Pico 2W since then. But Pimoroni beat them to the draw with the Pico Plus 2W based on the RM2 radio module and hinted [ ... ]



Go At Highest Rank Ever in TIOBE Index
20/11/2024

Go is currently in 7th place in the TIOBE Index for November 2024. Not only is this is the highest position it has ever had, it's percentage rating is almost equal to its all-time-high. Will Go contin [ ... ]


More News

 

espbook

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Monday, 01 June 2015 )