finding NON in matrix
Mostrar comentarios más antiguos
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?
Respuesta aceptada
Más respuestas (1)
Sean de Wolski
el 24 de Mayo de 2011
A(isnan(A)) = 0;
1 comentario
Walter Roberson
el 24 de Mayo de 2011
You're fast today, Sean!
Categorías
Más información sobre Cell Arrays en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!