Next: Exclamation mark as not operator, Previous: Informative block closing, Up: Octave Features
Indexing other things than variables is possible, as in:
octave:1> [3 1 4 1 5 9](3) ans = 4 octave:2> cos([0 pi pi/4 7])(3) ans = 0.70711