How can one replace values of elements in a (n*n) matrix which are greater than one with 0 s? I have tried using matrix[matrix>=1]=0 but it is not working.
Aucun commentaire:
Enregistrer un commentaire