GNU Octave
GNU Octave
About
Donate
Get Involved
Support
GNU Octave
Scientific Programming Language
Powerful mathematics-oriented syntax with built-in 2D/3D plotting and visualization tools
Free software, runs on GNU/Linux, macOS, BSD, and Microsoft Windows
Drop-in compatible with many Matlab scripts
Syntax Examples
The Octave syntax is largely compatible with Matlab.
The Octave interpreter can be run in
GUI mode
, as a console,
or invoked as part of a shell script.
More Octave examples can be found in
the Octave wiki
Solve systems of equations with linear algebra operations on
vectors
and
matrices
# Column vector
# Solve the system Ax = b
Visualize data with
high-level plot commands
in 2D and 3D.
10
0.1
10
# Create an evenly-spaced vector from -10..10
sin
);
# y is also a vector
plot
);
title
"Simple 2-D Plot"
);
xlabel
"x"
);
ylabel
"sin (x)"
);
Click here to see the plot output
Octave Packages
GNU Octave can be extended by packages. Find them at:
Development
Octave is free software licensed under the
GNU General Public License (GPL)
Assuming you have Mercurial installed on your machine you may obtain the latest
development version of Octave sources with the following command:
hg clone https://hg.octave.org/octave
News
RSS
GNU Octave 11.1.0 Released
– Feb 20, 2026
GNU Octave version 11.1.0 has been released and is now available for
. An official
Windows binary installer
is available.
For
macOS
see the installation instructions in the wiki.
US