Initial functions in octave/matlab