Skip to content

GNU Octave

Published by John W. Eaton and others

Scientific Programming Language

Open sourceGPL-3.0-or-later

Highlights

  • Interpreted matrix language whose syntax is largely compatible with MATLAB scripts and function files.
  • Built-in linear algebra, interpolation, numerical integration, ODE and DAE solvers, optimisation and statistics.
  • Two- and three-dimensional plotting from the same session, with figures exportable to common image formats.
  • Graphical environment with editor, command window, variable browser and documentation, plus a command-line mode for batch runs.
  • Additional domains added as packages through the pkg command.

About this application

GNU Octave is an interpreted language for numerical computation, with a syntax kept close to MATLAB so that scripts written for one often run on the other. The matrix is the basic data type: operators work element-wise or as linear algebra depending on context, and slicing, broadcasting and logical indexing belong to the language rather than to a library.

A standard installation covers linear systems and matrix factorisations, eigenvalues, polynomials, interpolation, numerical integration, solvers for ordinary and differential-algebraic equations, optimisation and basic statistics, plus two- and three-dimensional plotting. Code is written as .m script and function files. The graphical interface offers an editor, a command window, a variable browser and a documentation viewer, and the same interpreter runs headless for batch work.

Further domains — signal processing, image handling, control, symbolic algebra — come from separate packages installed with the pkg command. Compatibility with MATLAB is broad but not total: the commercial toolboxes and Simulink have no counterpart here.

Linux

We do not host this file, we do not scan it and we do not inspect its contents. Read what the source says, then decide for yourself.