Date: Sep 20, 2013 12:00 AM Author: John Dickson Subject: Re: Saving matrix each iteration Hi Steve, Thanks for the recommendation. The reason I want to convert them to individual matrices is because I need to calculate the maximum of each row at later stage.

Right now I use,

[maxValue, rowIdx] = max(C(:,end),[],1); %max value and the row index

to determine the maximum of C=min(A,[],2);

How do I do this for each B{1}... B{j}