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


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 [ ... ]



Wasmer 5 Adds iOS Support
12/11/2024

The Wasmer team has released Wasmer 5.0. The WebAssembly runtime adds experimental support for more back ends including V8, Wasmi and WAMR. It also now has iOS support, and upgraded compilers includin [ ... ]


More News

espbook

 

Comments




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