MATLAB Octave: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 9: Line 9:
* [[MATLAB Octave Installation|Installation]]
* [[MATLAB Octave Installation|Installation]]
* [[MATLAB Octave Concepts|Concepts]]
* [[MATLAB Octave Concepts|Concepts]]
=Installation=
* http://sourceforge.net/projects/octave/files/Octave%20MacOSX%20Binary/2013-12-30%20binary%20installer%20of%20Octave%203.8.0%20for%20OSX%2010.9.1%20%28beta%29/GNU_Octave_3.8.0-6.dmg/download


=Differences between Octave and MATLAB=
=Differences between Octave and MATLAB=

Revision as of 17:23, 20 December 2017

External

Subjects

Differences between Octave and MATLAB

https://en.wikibooks.org/wiki/MATLAB_Programming/Differences_between_Octave_and_MATLAB

MATLAB only supports single quotes. Octave can be run in --traditional mode.

Usage

Linux commands:

cd - modify the current directory.

pwd - print working directory.

Interpreter Commands:

clear - delete the names matching the pattern from the symbol table. The pattern is a simplified regular expression, with '?', '*', '[...]'. With no arguments, all user-define variables (local and global) are deleted.

close - close figure windows.

clc - clears the terminal screen and move the cursor to the upper left corner.

printf - Also see Generic printf.

fprintf - like printf, just that the output is written to the FID stream instead of stdout.

load - load the named variables from the file. If no variables are named, all variables found in the file will be loaded.