Octave-Matlab-Tutorial.pdf

(2035 KB) Pobierz
373570240 UNPDF
Octave/Matlab Tutorial
Kai Arras
Social Robotics Lab
v.1.0, koa, Oct 09
373570240.002.png
Contents
Overview
Start, quit, getting help
Variables and data types
Matrices
Plotting
Programming
Functions and scripts
Files I/O
Misc
Octave and Matlab in practice
librobotics
Octave
Matlab
 
373570240.003.png 373570240.004.png 373570240.001.png
Overview
Octave is the "open-source Matlab "
Octave is a great gnuplot wrapper
www.octave.org
www.mathworks.com
Octave and Matlab are both, high-level languages and
mathematical programming environments for:
Visualization
Programming, algorithm development
Numerical computation: linear algebra, optimization,
control, statistics, signal and image processing, etc.
Beware: Octave/Matlab programs can be slow.
 
Overview
Matlab-Octave comparison :
Matlab is more flexible/advanced/powerful/costly
Octave is for free (GPL license)
There are minor differences in syntax
This tutorial:
This tutorial applies to Octave *and* Matlab
unless stated otherwise!
Current versions (autumn 2009):
Octave 3.2.3
Matlab 7.6
 
Contents
Overview
Start, quit, getting help
Variables and data types
Matrices
Plotting
Programming
Functions and scripts
Files I/O
Misc
Octave and Matlab in practice
librobotics
 
Zgłoś jeśli naruszono regulamin