Octave on Ubuntu
- To run Octave script without getting into Octave environment, type: octave --silent --eval 'myfactorial(5)' where --silent gets rid of some annoying prints regarding warranties, etc.
- To turn on syntax highlighting for Octave in vi editor: download octave.vim from here, and copy it into /usr/share/vim/vim73/syntax. Inside /usr/share/vim/vim73, you will find filetype.vim, open it and replace all occurrences of the word matlab with octave and save it.
- A less geeky editor would be QtOctave.
- A beautiful site.
No comments:
Post a Comment