Octave 數值計算

std1984發表於2014-08-21
環境: Ubuntu 12.04 ,  Octave 3.8.2

Octave是一個旨在提供與相容的的工具,它支援向量和矩陣計算,方便寫數學表示式

安裝步驟如下:
wget ftp://ftp.gnu.org/gnu/octave/octave-3.8.2.tar.gz
tar xvf octave-3.8.2.tar.gz
cd octave-3.8.2
./configure
make
sudo make install

進入命令列:
jerry@hq:~$ octave
warning: docstring file '/usr/local/share/octave/3.8.2/etc/built-in-docstrings' not found
No protocol specified
GNU Octave, version 3.8.2
Copyright (C) 2014 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "x86_64-unknown-linux-gnu".

Additional information about Octave is available at

Please contribute if you find this software useful.
For more information, visit

Read to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.

octave:1>

octave:28> version
ans = 3.8.2
octave:29> pi
ans =  3.1416
octave:30> A
A =


   1   2
   3   4


octave:31>


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/16582684/viewspace-1255184/,如需轉載,請註明出處,否則將追究法律責任。

相關文章