If you ask a Matlab question and I answer it be prepared to do a bit of work to get the answer to work on your installation. This is because I only have Matlab installed on my machine on the secret network at work, so I never have access to a recent version on any machine I am likely to have answered from. (Yes I know that my licence allows me to install it on my home machines but it's so resource hungry and slow to boot I would rather not)

(There is no copy of any sort on the open network at work, on the main machine at home I am likely to have used Octave rather than Matlab, on the fast laptop at home there is no Matlab of any kind, and on my 300 MHz, Pentium II that I am working on now I only have Matlab 3.5 for DOS)

RonL