Dear Samuel
Thank you for your answer.
Best regards
--
Sent from:
http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
Le 02/03/2018 à 16:40, fujimoto2005 a écrit :
In the attached code,"boolean_M" is a random Boolean matrix.
I want to get the average of each column of A whose corresponding element of
boolean_M has "true" as row vector x_V, but it does not work.
Where am I wrong?
n=10;
boolean_M=rand(n,n)>0.5;
Le 02/03/2018 à 16:54, Samuel Gougeon a écrit :
Le 02/03/2018 à 16:40, fujimoto2005 a écrit :
In the attached code,"boolean_M" is a random Boolean matrix.
I want to get the average of each column of A whose corresponding element of
boolean_M has "true" as row vector x_V, but it does not work.
In the attached code,"boolean_M" is a random Boolean matrix.
I want to get the average of each column of A whose corresponding element of
boolean_M has "true" as row vector x_V, but it does not work.
Where am I wrong?
Best regards
test_meanWtboolean.sce