GNU Octave Improves Matlab Compatibility
Written by Kay Ewbank   
Monday, 07 December 2020

GNU Octave 6.1 has been released with improvements including changes to the graphics backend, compatibility with Matlab and a number of new and improved functions.

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

The improvements to the new version start with improved Matlab compatibility. It's now easier to switch to and from Matlab because of changes including adding the ability to handle nested functions to the interpreter, and altering other functions to return column index vectors.octave2

The graphics back end of Octave has also been improved. There's a new font smoothing property that use anti-aliasing for text and axis objects; and better handling of text subscripts and superscripts.

In practical terms, several functions have been reworked or completely rewritten. There's a new rand function that uses a different algorithm. For single precision outputs, the algorithm has been fixed so that it produces values strictly in the range (0, 1). Previously, it could occasionally generate the right endpoint value of 1. The new implementation also uses a uniform interval between floating point values in the range (0, 1) rather than targeting a uniform density.

The quadv function has also been rewritten so it will perform better. It can now compute integrands of periodic functions, and performance is better with ~3.5X fewer function evaluations required.

Another function to be improved is linspace, which is described as now producing symmetrical sequences when the endpoints are symmetric.

Octave's format command for output has also received work. It now supports the options of uppercase and lowercase, and can be called with multiple options for controlling the format, spacing, and case in arbitrary order.

Support for accessing complex RESTful web services has been added. These can now be accessed by two new functions, webread and webwrite, alongside with the weboptions structure. Support for cookies has also been added to enable RESTful communication with the web service, and the system web browser can be opened by the web function.

Octave can be downloaded from the GNU Website.

octave

More Information

GNU Octave Website

Related Articles

GNU Octave 5.1 Adds HiDPI Support

A Programmer's Guide To Octave

GNU Octave 4

GUI For GNU Octave 3.8

 

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

Banner


Quadrupedal Parkour
31/03/2024

What is it with robots and parkour? First Atlas and now ANYmal want to impress us with their prowess. For the roboticist, however, emulating the skills of free running can enhance the capabilities of  [ ... ]



The University of Tübingen's Self-Driving Cars Course
22/03/2024

The recorded lectures and the written material of a course on Self-Driving Cars at the University of Tübingen have been made available for free. It's a first class opportunity to learn the in an [ ... ]


More News

raspberry pi books

 

Comments




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