GRASS and Octave: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
(→‎See also: scilab)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
== GRASS and Octave ==
== GRASS and Octave ==


Octave (http://www.gnu.org/software/octave/) is a high-level interactive language, primarily intended for numerical computations that is mostly compatible with MATLAB.
Octave (http://www.gnu.org/software/octave/) is a high-level interactive language, primarily intended for numerical computations. It works in a fashion which is not dissimilar to MATLAB. Most scripts that run in one will run in the other.


=== Import and export ===
=== Import and export ===


==== Raster ====
* Import: {{cmd|r.in.mat}}
* Import: {{cmd|r.in.mat}}
* Export: {{cmd|r.out.mat}}
* Export: {{cmd|r.out.mat}}
''TODO: write a r3.{in|out}.mat''
==== Vector ====
* Import: {{cmd|v.in.mapgen}} - use the -f flag
* Export: {{AddonCmd|v.out.ascii.mat}} - from AddOns
* ''HB: somewhere I have a .m file which will load grass ascii vector format into Matlab'' (ask)


=== See also ===
=== See also ===

Latest revision as of 04:15, 19 November 2009

GRASS and Octave

Octave (http://www.gnu.org/software/octave/) is a high-level interactive language, primarily intended for numerical computations. It works in a fashion which is not dissimilar to MATLAB. Most scripts that run in one will run in the other.

Import and export

Raster

TODO: write a r3.{in|out}.mat

Vector

  • Import: v.in.mapgen - use the -f flag
  • Export: v.out.ascii.mat - from AddOns
  • HB: somewhere I have a .m file which will load grass ascii vector format into Matlab (ask)

See also

  • SciLab - another free Matlab clone