Update example1.m

Rudimentary Octave compatibility