Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: matrix comparission
Replies: 1   Last Post: Dec 19, 2012 11:55 AM

 Messages: [ Previous | Next ]
 Barry Shaw Posts: 32 Registered: 2/16/12
Re: matrix comparission
Posted: Dec 19, 2012 11:55 AM

Is this a simplified version of what you want to do?
My solution would involve amalgamating the 72 matrices into a singular matrix first of all.

>> a=[1 2 33]';
>> b=[4 8 6]';
>> c=[7 5 3]';
>> d = [a b c];
>> e = max(d,[],2)

"WAFA " <wafa_ali_2009@yahoo.com> wrote in message <kas6ju\$mpl\$1@newscl01ah.mathworks.com>...
> Hi, please I have 72 matrix with dimension 1000 * 1 for each one ,I want to get a matrix also 1000 * 1 with each element represents the maximum value of corresponding elements of the original 72 matrix . Like make comparison between the first element of each 72 matrix and so on .Thank u

Date Subject Author
12/19/12 WAFA
12/19/12 Barry Shaw