个人工具

UbuntuHelp:Octave

来自Ubuntu中文

Wikibot讨论 | 贡献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