finding NON in matrix
Ältere Kommentare anzeigen
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?
Akzeptierte Antwort
Weitere Antworten (1)
Sean de Wolski
am 24 Mai 2011
A(isnan(A)) = 0;
1 Kommentar
Walter Roberson
am 24 Mai 2011
You're fast today, Sean!
Kategorien
Mehr zu Cell Arrays finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!