finding NON in matrix
Afficher commentaires plus anciens
Hi all In the matrix A which is 1*N matrix, I want to recognize if there is any element equal to NON in it,I replace it by zero.How can I do that?
Réponse acceptée
Plus de réponses (1)
Sean de Wolski
le 24 Mai 2011
A(isnan(A)) = 0;
1 commentaire
Walter Roberson
le 24 Mai 2011
You're fast today, Sean!
Catégories
En savoir plus sur Cell Arrays dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!