特殊:Badtitle/NS100:Octave:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Oneleaf留言 | 贡献
新页面: {{From|https://help.ubuntu.com/community/Octave}} {{Languages|UbuntuHelp:Octave}} [http://www.octave.org/ GNU Octave] is a high-level language, primarily intended for numerical computatio...
 
Wikibot留言 | 贡献
无编辑摘要
第2行: 第2行:
{{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 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.
A simple example of a Octave session
A simple example of a Octave session
<pre><nowiki>
<pre><nowiki>
第9行: 第8行:
octave:2> b = [ 1 2 3 4]
octave:2> b = [ 1 2 3 4]
b =
b =
1  2  3  4
1  2  3  4
octave:3> c = a * b
octave:3> c = a * b
c =
c =
6  12  18  24
6  12  18  24
octave:4> exit
octave:4> exit
</nowiki></pre>
</nowiki></pre>
=== Installation ===
=== Installation ===
Octave is in the Ubuntu universe and can be installed with synaptic or apt-get. The package name is "octave"
Octave is in the Ubuntu universe and can be installed with synaptic or apt-get. The package name is "octave"
=== Running octave ===
=== Running octave ===
To run octave open a terminal and type
To run octave open a terminal and type
<pre><nowiki>
<pre><nowiki>
octave
octave
</nowiki></pre>
</nowiki></pre>
=== Resources ===
=== Resources ===
* [http://www.octave.org/ GNU Octave website]
* [http://www.octave.org/ GNU Octave website]
* [http://octave.sourceforge.net/  GNU Octave Repository] Add ons.
* [http://octave.sourceforge.net/  GNU Octave Repository] Add ons.
* [http://linuxgazette.net/authors/odonovan.html Articles by Barry O'Donovan] Some introductory articles.
* [http://linuxgazette.net/authors/odonovan.html Articles by Barry O'Donovan] Some introductory articles.
* [http://octave-gtk.sourceforge.net/ octave-gtk] a GTK+ binding for GNU/Octave.
* [http://octave-gtk.sourceforge.net/ octave-gtk] a GTK+ binding for GNU/Octave.
* [http://pkg-octave.alioth.debian.org/ Debian Octave Group]
* [http://pkg-octave.alioth.debian.org/ Debian Octave Group]
[[category:CategoryDocumentation]] [[category:CategoryCleanup]]
[[category:CategoryDocumentation]] [[category:CategoryCleanup]]


[[category:UbuntuHelp]]
[[category:UbuntuHelp]]

2007年11月30日 (五) 20:53的版本

{{#ifexist: :Octave/zh | | {{#ifexist: Octave/zh | | {{#ifeq: {{#titleparts:Octave|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Octave|1|-1|}} | zh | | }}

GNU Octave is a high-level language, primarily intended for numerical computations. It is similar to the commerial 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