个人工具

“UbuntuHelp:Octave”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/Octave}}
 
{{From|https://help.ubuntu.com/community/Octave}}
 
{{Languages|UbuntuHelp:Octave}}
 
{{Languages|UbuntuHelp:Octave}}
[http://www.octave.org/ GNU Octave] is a high-level language, primarily intended for numerical computations. It is similar to the commerial product [http://www.mathworks.com/ MATLAB]. It gives you an command line environment where you can do calculation, solve equations, manipulate matrices and plot graphs. A list of commands can be put into a file and executed as an interpreted scripting language.
+
[http://www.octave.org/ GNU Octave] is a high-level language, primarily intended for numerical computations. It is free software, and it is similar to the commercial product [[UbuntuHelp:MATLAB|MATLAB]]. It gives you an command line environment where you can do calculation, solve equations, manipulate matrices and plot graphs. A list of commands can be put into a file and executed as an interpreted scripting language.
 
A simple example of a Octave session
 
A simple example of a Octave session
 
<pre><nowiki>
 
<pre><nowiki>

2008年4月23日 (三) 11:51的版本

GNU Octave is a high-level language, primarily intended for numerical computations. It is free software, and it is similar to the commercial product MATLAB. It gives you an command line environment where you can do calculation, solve equations, manipulate matrices and plot graphs. A list of commands can be put into a file and executed as an interpreted scripting language. A simple example of a Octave session

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

Installation

Octave is in the Ubuntu universe and can be installed with synaptic or apt-get. The package name is "octave"

Running octave

To run octave open a terminal and type

octave

Resources