Install Octave for Signal & Control to replace Matlab

Diterbitkan oleh Unknown on Monday, May 20, 2013

Hosting Unlimited Indonesia
GNU Octave is a high-level interpreted language, primarily intended for numerical computations. It provides capabilities for the numerical solution of linear and nonlinear problems, and for performing other numerical experiments. It also provides extensive graphics capabilities for data visualization and manipulation. Octave is normally used through its interactive command line interface, but it can also be used to write non-interactive programs. The Octave language is quite similar to Matlab so that most programs are easily portable.
Octave is distributed under the terms of the GNU General Public License.

http://www.gnu.org/software/octave/

Installation for Ubuntu 12.04 :

1. "apt-get install octave"
2. "apt-get install octave-control"
3. "apt-get install octave-signal"
output installation octave & octave package :

asisten@kendali:~$ sudo apt-get install octave
[sudo] password for asisten:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Note, selecting 'octave3.2' instead of 'octave'
The following extra packages will be installed:
  gnuplot gnuplot-nox gnuplot-x11 groff imagemagick imagemagick-common
  libarpack2 libatlas3gf-base libccolamd2.7.1 libcholmod1.7.1 libcolamd2.7.1
  libcxsparse2.2.3 libfftw3-3 libglpk0 libgraphicsmagick++3 libgraphicsmagick3
  liblqr-1-0 libmagickcore4 libmagickcore4-extra libmagickwand4 libparpack2
  libqrupdate1 netpbm octave3.2-common psutils texinfo
Suggested packages:
  gnuplot-doc imagemagick-doc autotrace curl enscript gimp grads hp2xx html2ps
  libwmf-bin mplayer povray radiance texlive-base-bin transfig ufraw-batch
  libfftw3-dev libiodbc2-dev graphicsmagick-dbg octave3.2-info octave3.2-doc
  octave3.2-htmldoc octave3.2-headers octave3.2-emacsen texlive-base
  texlive-latex-base texlive-generic-recommended texinfo-doc-nonfree
The following NEW packages will be installed:
  gnuplot gnuplot-nox gnuplot-x11 groff imagemagick imagemagick-common
  libarpack2 libatlas3gf-base libccolamd2.7.1 libcholmod1.7.1 libcolamd2.7.1
  libcxsparse2.2.3 libfftw3-3 libglpk0 libgraphicsmagick++3 libgraphicsmagick3
  liblqr-1-0 libmagickcore4 libmagickcore4-extra libmagickwand4 libparpack2
  libqrupdate1 netpbm octave3.2 octave3.2-common psutils texinfo
0 upgraded, 27 newly installed, 0 to remove and 373 not upgraded.
Need to get 27.5 MB of archives.
After this operation, 83.4 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://id.archive.ubuntu.com/ubuntu/ precise/universe gnuplot-nox i386 4.4.3-0ubuntu3 [949 kB]
Get:2 http://id.archive.ubuntu.com/ubuntu/ precise/universe gnuplot-x11 i386 4.4.3-0ubuntu3 [647 kB]                                          
Get:3 http://id.archive.ubuntu.com/ubuntu/ precise/universe gnuplot all 4.4.3-0ubuntu3 [1,068 B]                                              
Get:4 http://id.archive.ubuntu.com/ubuntu/ precise/main groff i386 1.21-7 [3,556 kB]                                                          
Get:5 http://id.archive.ubuntu.com/ubuntu/ precise/main liblqr-1-0 i386 0.4.1-1.1 [37.8 kB]                                                   
Get:6 http://id.archive.ubuntu.com/ubuntu/ precise-updates/main imagemagick-common all 8:6.6.9.7-5ubuntu3.2 [40.1 kB]                         
Get:7 http://id.archive.ubuntu.com/ubuntu/ precise-updates/main libmagickcore4 i386 8:6.6.9.7-5ubuntu3.2 [1,810 kB]                           
Get:8 http://id.archive.ubuntu.com/ubuntu/ precise-updates/main libmagickwand4 i386 8:6.6.9.7-5ubuntu3.2 [320 kB]                             
Get:9 http://id.archive.ubuntu.com/ubuntu/ precise-updates/main imagemagick i386 8:6.6.9.7-5ubuntu3.2 [48.6 kB]                               
Get:10 http://id.archive.ubuntu.com/ubuntu/ precise/universe libatlas3gf-base i386 3.8.4-3build1 [4,846 kB]                                   
Get:11 http://id.archive.ubuntu.com/ubuntu/ precise/universe libparpack2 i386 3.0.2-3 [217 kB]                                                
Get:12 http://id.archive.ubuntu.com/ubuntu/ precise/universe libarpack2 i386 3.0.2-3 [118 kB]                                                 
Get:13 http://id.archive.ubuntu.com/ubuntu/ precise/universe libccolamd2.7.1 i386 1:3.4.0-2ubuntu3 [18.0 kB]                                  
Get:14 http://id.archive.ubuntu.com/ubuntu/ precise/universe libcolamd2.7.1 i386 1:3.4.0-2ubuntu3 [13.8 kB]                                   
Get:15 http://id.archive.ubuntu.com/ubuntu/ precise/universe libcholmod1.7.1 i386 1:3.4.0-2ubuntu3 [344 kB]                                   
Get:16 http://id.archive.ubuntu.com/ubuntu/ precise/universe libcxsparse2.2.3 i386 1:3.4.0-2ubuntu3 [95.8 kB]                                 
Get:17 http://id.archive.ubuntu.com/ubuntu/ precise/main libfftw3-3 i386 3.3-1ubuntu1 [1,416 kB]                                              
Get:18 http://id.archive.ubuntu.com/ubuntu/ precise/universe libglpk0 i386 4.45-1build1 [407 kB]                                              
Get:19 http://id.archive.ubuntu.com/ubuntu/ precise/universe libgraphicsmagick3 i386 1.3.12-1.1build1 [1,254 kB]                              
Get:20 http://id.archive.ubuntu.com/ubuntu/ precise/universe libgraphicsmagick++3 i386 1.3.12-1.1build1 [138 kB]                              
Get:21 http://id.archive.ubuntu.com/ubuntu/ precise-updates/main libmagickcore4-extra i386 8:6.6.9.7-5ubuntu3.2 [48.5 kB]                     
Get:22 http://id.archive.ubuntu.com/ubuntu/ precise/universe libqrupdate1 i386 1.1.1-1 [69.8 kB]                                              
Get:23 http://id.archive.ubuntu.com/ubuntu/ precise/main netpbm i386 2:10.0-15 [1,176 kB]                                                     
Get:24 http://id.archive.ubuntu.com/ubuntu/ precise/main texinfo i386 4.13a.dfsg.1-8ubuntu2 [447 kB]                                          
Get:25 http://id.archive.ubuntu.com/ubuntu/ precise/universe octave3.2-common all 3.2.4-12 [579 kB]                                           
Get:26 http://id.archive.ubuntu.com/ubuntu/ precise/universe octave3.2 i386 3.2.4-12 [8,847 kB]                                               
Get:27 http://id.archive.ubuntu.com/ubuntu/ precise/main psutils i386 1.17-31 [94.9 kB]                                                       
Fetched 27.5 MB in 8min 2s (57.1 kB/s)                                                                                                        
Selecting previously unselected package gnuplot-nox.
(Reading database ... 232375 files and directories currently installed.)
Unpacking gnuplot-nox (from .../gnuplot-nox_4.4.3-0ubuntu3_i386.deb) ...
Selecting previously unselected package gnuplot-x11.
Unpacking gnuplot-x11 (from .../gnuplot-x11_4.4.3-0ubuntu3_i386.deb) ...
Adding 'diversion of /usr/bin/gnuplot to /usr/bin/gnuplot-nox by gnuplot-x11'
Adding 'diversion of /usr/share/man/man1/gnuplot.1.gz to /usr/share/man/man1/gnuplot-nox.1.gz by gnuplot-x11'
Selecting previously unselected package gnuplot.
Unpacking gnuplot (from .../gnuplot_4.4.3-0ubuntu3_all.deb) ...
Selecting previously unselected package groff.
Unpacking groff (from .../archives/groff_1.21-7_i386.deb) ...
Selecting previously unselected package liblqr-1-0.
Unpacking liblqr-1-0 (from .../liblqr-1-0_0.4.1-1.1_i386.deb) ...
Selecting previously unselected package imagemagick-common.
Unpacking imagemagick-common (from .../imagemagick-common_8%3a6.6.9.7-5ubuntu3.2_all.deb) ...
Selecting previously unselected package libmagickcore4.
Unpacking libmagickcore4 (from .../libmagickcore4_8%3a6.6.9.7-5ubuntu3.2_i386.deb) ...
Selecting previously unselected package libmagickwand4.
Unpacking libmagickwand4 (from .../libmagickwand4_8%3a6.6.9.7-5ubuntu3.2_i386.deb) ...
Selecting previously unselected package imagemagick.
Unpacking imagemagick (from .../imagemagick_8%3a6.6.9.7-5ubuntu3.2_i386.deb) ...
Selecting previously unselected package libatlas3gf-base.
Unpacking libatlas3gf-base (from .../libatlas3gf-base_3.8.4-3build1_i386.deb) ...
Selecting previously unselected package libparpack2.
Unpacking libparpack2 (from .../libparpack2_3.0.2-3_i386.deb) ...
Selecting previously unselected package libarpack2.
Unpacking libarpack2 (from .../libarpack2_3.0.2-3_i386.deb) ...
Selecting previously unselected package libccolamd2.7.1.
Unpacking libccolamd2.7.1 (from .../libccolamd2.7.1_1%3a3.4.0-2ubuntu3_i386.deb) ...
Selecting previously unselected package libcolamd2.7.1.
Unpacking libcolamd2.7.1 (from .../libcolamd2.7.1_1%3a3.4.0-2ubuntu3_i386.deb) ...
Selecting previously unselected package libcholmod1.7.1.
Unpacking libcholmod1.7.1 (from .../libcholmod1.7.1_1%3a3.4.0-2ubuntu3_i386.deb) ...
Selecting previously unselected package libcxsparse2.2.3.
Unpacking libcxsparse2.2.3 (from .../libcxsparse2.2.3_1%3a3.4.0-2ubuntu3_i386.deb) ...
Selecting previously unselected package libfftw3-3.
Unpacking libfftw3-3 (from .../libfftw3-3_3.3-1ubuntu1_i386.deb) ...
Selecting previously unselected package libglpk0.
Unpacking libglpk0 (from .../libglpk0_4.45-1build1_i386.deb) ...
Selecting previously unselected package libgraphicsmagick3.
Unpacking libgraphicsmagick3 (from .../libgraphicsmagick3_1.3.12-1.1build1_i386.deb) ...
Selecting previously unselected package libgraphicsmagick++3.
Unpacking libgraphicsmagick++3 (from .../libgraphicsmagick++3_1.3.12-1.1build1_i386.deb) ...
Selecting previously unselected package libmagickcore4-extra.
Unpacking libmagickcore4-extra (from .../libmagickcore4-extra_8%3a6.6.9.7-5ubuntu3.2_i386.deb) ...
Selecting previously unselected package libqrupdate1.
Unpacking libqrupdate1 (from .../libqrupdate1_1.1.1-1_i386.deb) ...
Selecting previously unselected package netpbm.
Unpacking netpbm (from .../netpbm_2%3a10.0-15_i386.deb) ...
Selecting previously unselected package texinfo.
Unpacking texinfo (from .../texinfo_4.13a.dfsg.1-8ubuntu2_i386.deb) ...
Selecting previously unselected package octave3.2-common.
Unpacking octave3.2-common (from .../octave3.2-common_3.2.4-12_all.deb) ...
Selecting previously unselected package octave3.2.
Unpacking octave3.2 (from .../octave3.2_3.2.4-12_i386.deb) ...
Selecting previously unselected package psutils.
Unpacking psutils (from .../psutils_1.17-31_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for install-info ...
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...
Setting up gnuplot-nox (4.4.3-0ubuntu3) ...
Setting up gnuplot-x11 (4.4.3-0ubuntu3) ...
Setting up gnuplot (4.4.3-0ubuntu3) ...
Setting up groff (1.21-7) ...
Setting up liblqr-1-0 (0.4.1-1.1) ...
Setting up imagemagick-common (8:6.6.9.7-5ubuntu3.2) ...
Setting up libmagickcore4 (8:6.6.9.7-5ubuntu3.2) ...
Setting up libmagickwand4 (8:6.6.9.7-5ubuntu3.2) ...
Setting up imagemagick (8:6.6.9.7-5ubuntu3.2) ...
Setting up libatlas3gf-base (3.8.4-3build1) ...
update-alternatives: using /usr/lib/atlas-base/atlas/libblas.so.3gf to provide /usr/lib/libblas.so.3gf (libblas.so.3gf) in auto mode.
update-alternatives: using /usr/lib/atlas-base/atlas/liblapack.so.3gf to provide /usr/lib/liblapack.so.3gf (liblapack.so.3gf) in auto mode.
Setting up libparpack2 (3.0.2-3) ...
Setting up libarpack2 (3.0.2-3) ...
Setting up libccolamd2.7.1 (1:3.4.0-2ubuntu3) ...
Setting up libcolamd2.7.1 (1:3.4.0-2ubuntu3) ...
Setting up libcholmod1.7.1 (1:3.4.0-2ubuntu3) ...
Setting up libcxsparse2.2.3 (1:3.4.0-2ubuntu3) ...
Setting up libfftw3-3 (3.3-1ubuntu1) ...
Setting up libglpk0 (4.45-1build1) ...
Setting up libgraphicsmagick3 (1.3.12-1.1build1) ...
Setting up libgraphicsmagick++3 (1.3.12-1.1build1) ...
Setting up libmagickcore4-extra (8:6.6.9.7-5ubuntu3.2) ...
Setting up libqrupdate1 (1.1.1-1) ...
Setting up netpbm (2:10.0-15) ...
Setting up texinfo (4.13a.dfsg.1-8ubuntu2) ...
Setting up octave3.2-common (3.2.4-12) ...
Setting up octave3.2 (3.2.4-12) ...
update-alternatives: using /usr/bin/octave-3.2.4 to provide /usr/bin/octave (octave) in auto mode.
update-alternatives: using /usr/bin/octave-bug-3.2.4 to provide /usr/bin/octave-bug (octave-bug) in auto mode.

Setting up psutils (1.17-31) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
asisten@kendali:~$ sudo apt-get install octave-control
[sudo] password for asisten:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following NEW packages will be installed:
  octave-control
0 upgraded, 1 newly installed, 0 to remove and 373 not upgraded.
Need to get 433 kB of archives.
After this operation, 1,487 kB of additional disk space will be used.
Get:1 http://id.archive.ubuntu.com/ubuntu/ precise/universe octave-control all 1.0.11-2 [433 kB]
Fetched 433 kB in 22s (19.5 kB/s)                                                                                                             
Selecting previously unselected package octave-control.
(Reading database ... 235124 files and directories currently installed.)
Unpacking octave-control (from .../octave-control_1.0.11-2_all.deb) ...
Processing triggers for octave3.2 ...

Setting up octave-control (1.0.11-2) ...
asisten@kendali:~$ sudo apt-get install octave-signal
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following extra packages will be installed:
  octave-miscellaneous octave-optim octave-specfun octave-struct units
Suggested packages:
  lyx
The following NEW packages will be installed:
  octave-miscellaneous octave-optim octave-signal octave-specfun octave-struct units
0 upgraded, 6 newly installed, 0 to remove and 373 not upgraded.
Need to get 872 kB of archives.
After this operation, 3,647 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://id.archive.ubuntu.com/ubuntu/ precise/universe units i386 1.87-2 [144 kB]
Get:2 http://id.archive.ubuntu.com/ubuntu/ precise/universe octave-miscellaneous i386 1.0.11-1 [180 kB]                                       
Get:3 http://id.archive.ubuntu.com/ubuntu/ precise/universe octave-struct i386 1.0.9-1 [50.1 kB]                                              
Get:4 http://id.archive.ubuntu.com/ubuntu/ precise/universe octave-optim i386 1.0.17-1 [262 kB]                                               
Get:5 http://id.archive.ubuntu.com/ubuntu/ precise/universe octave-specfun i386 1.0.9-1 [34.0 kB]                                             
Get:6 http://id.archive.ubuntu.com/ubuntu/ precise/universe octave-signal i386 1.0.11-2 [202 kB]                                              
Fetched 872 kB in 36s (23.8 kB/s)                                                                                                             
Selecting previously unselected package units.
(Reading database ... 235294 files and directories currently installed.)
Unpacking units (from .../archives/units_1.87-2_i386.deb) ...
Selecting previously unselected package octave-miscellaneous.
Unpacking octave-miscellaneous (from .../octave-miscellaneous_1.0.11-1_i386.deb) ...
Selecting previously unselected package octave-struct.
Unpacking octave-struct (from .../octave-struct_1.0.9-1_i386.deb) ...
Selecting previously unselected package octave-optim.
Unpacking octave-optim (from .../octave-optim_1.0.17-1_i386.deb) ...
Selecting previously unselected package octave-specfun.
Unpacking octave-specfun (from .../octave-specfun_1.0.9-1_i386.deb) ...
Selecting previously unselected package octave-signal.
Unpacking octave-signal (from .../octave-signal_1.0.11-2_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for install-info ...
Processing triggers for octave3.2 ...

Setting up units (1.87-2) ...
Setting up octave-miscellaneous (1.0.11-1) ...
Setting up octave-struct (1.0.9-1) ...
Setting up octave-optim (1.0.17-1) ...
Setting up octave-specfun (1.0.9-1) ...
Setting up octave-signal (1.0.11-2) ...


Installation finish.
now, try to run octave with signal or system control.
ex : Bode Diagram


{ 0 Comment... read them below or add one }

Post a Comment