Function for opposite of isnan?
16 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Ashley
el 12 de Sept. de 2014
Respondida: Joseph Cheng
el 12 de Sept. de 2014
What I would like is a statement that creates a logical column that is opposite of that which isnan() creates. In other words, instead of nans being indicated by 1, I'd like it to be indicated as a zero... Any ideas for a code or function?
0 comentarios
Respuesta aceptada
Joseph Cheng
el 12 de Sept. de 2014
you would go ~isnan() to reverse the 1's to zeros and zeros to be 1.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Numeric Types en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!