GRASS and Octave

From GRASS-Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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