The GNU Octave is a high-level language, designed to perform numerical calculations, and is a powerful competitive product for MathWorks's Matlab business software. In addition to the simple set of commands provided by Gnuplot, Octave provides a rich language for mathematical programming. We can even write our own applications using C + + or C + + languages, and then interact with Octave.
Octave was originally written in 1992 as a supporting software for chemical reactor design textbooks. The authors hope to help students solve reactor design problems without Debugging http://www.aliyun.com/zixun/aggregation/29818.html ">fortran programs." The result is a very useful language and provides an interactive environment for solving numerical problems.
Octave can operate interactively in a scripted pattern or through C and C + + language bindings. Octave itself has a very rich language, which looks very similar to C, and has a large mathematical library, including signal and image processing, audio processing, and some special functions used in the control theory.
Official website: http://www.gnu.org/software/octave/
Because Octave uses gnuplot as the backend implementation, everything you can draw with gnuplot can be drawn using Octave. Octave does have a richer language to compute, it has many obvious advantages, but there are still some gnuplot limitations.
Installation
sudo apt install octave3.0
Snapshot
Octave:1> A = 2 * 3 A = 6 octave:2> B = [1 2 3 4] b =
1 2 3 4
octave:3> C = A * b c =
6 12 18 24
Octave:4> exit octave:1> [3 1 4 1 5 9] (3) Ans = 4 octave:2> cos ([0 pi Pi/4 7]) (3) Ans = 0.70711 octave:1> if! strcmp (program_name, "octave"), > "It ' s an error" > Else > "It works!" > End Ans = It works!
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.