octave code for coursea