Right thanks

 

De : [email protected] [mailto:[email protected]]
De la part de Eric Dubois
Envoyé : vendredi 14 décembre 2012 08:03
À : International users mailing list for Scilab.
Objet : Re: [Scilab-users] max of matric colums - vectorization

 

Maybe max(A,'r') is what you atd looking for.

Éric

Le 13 déc. 2012 23:14, "Paul Carrico" <[email protected]> a écrit :

All,

 

Maybe I’m too tired to find a so easy solution, but I don’t understand why
the code herebellow does not work .. I want to find the max of each column
while each I’ve the max of the complete matrix (???)

 

i is a vector ????

 

Paul

 

#####################

A = rand(5,20)

i=[1 : 20]

 

B=zeros(1,20)

B(i) = max(A(:,i))

 


_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to