View Single Post
Old 02-8-2012, 10:16 PM   #10
foilman8805
smoke wheat hail satin
FFR Simfile AuthorFFR Veteran
 
foilman8805's Avatar
 
Join Date: Sep 2006
Location: LA baby
Age: 36
Posts: 5,704
Default Re: MATLAB - The Language of Technical Computing

If you want to find the location:

[a,b] = find(max(factors)); will return the index value of the largest number in the array by row and column, respectively.

Then you'd want to do:

disp(factors(a,b))
foilman8805 is offline   Reply With Quote