From: Sadik on
Hi Naeem,

You can take a look at this:

http://www.mathworks.com/matlabcentral/newsreader/view_thread/249532

Best.