I have 4x4 matrix A
[1 2 3 4;
2 2 2 3;
5 5 5 5;
4 4 4 4]
I know how to locate all values less than 4 => A<4. But I'm not sure how to write an 'if' statement for=> three or more values, all which are less than 4, contained in the same row. For instance; see above A(1,:) and A(2,:) satisfies my conditions.
Aucun commentaire:
Enregistrer un commentaire