Dear Darshini, better post this question in the appropriate forum from Mathworks or Octave (a free Matlab clone). https://www-old.cae.wisc.edu/mailman/listinfo/help-octave Enjoy! Wo