Watch this Author's files
Good work
line 36 should be
method = 1;
instead of
method == 1;
otherwise, very useful!
Thanks. I was about to write the same function, but then I found it here: you made save some time! :)
That's much better! Keep up the good work.
Contact us at files@mathworks.com