View Single Post
Old 02-12-2012, 10:45 PM   #12
tangomango
FFR Player
FFR Veteran
 
tangomango's Avatar
 
Join Date: May 2007
Posts: 1,134
Default Re: MATLAB - The Language of Technical Computing

I'm a little confused at this part:

Code:
 y = ind2sub(size(x),find(x==max(x)));
answer = min(y);
What does ind2sub do? Does it take all of the max values of x into a vector?
tangomango is offline   Reply With Quote