some MATLAB/Octave tools