Correct use of isnan?

6 visualizaciones (últimos 30 días)
Carlos Batista
Carlos Batista el 14 de Jul. de 2014
Comentada: Carlos Batista el 14 de Jul. de 2014
Hi users Matlab!
Users, I have an matrix as 3 dimensions:
a=10x8x2 (...)
This matrix I have some values that I had to call as NaN (...)
I applied function ()=~isnan() for renove these NaN (...) But, my matrix that had 3 dimensions was only 2 dimensions (...)
I'd like to kwon how to keep my 3 dimensions when use the function ()~isnan()
Thanks!
Carlos
I need that there are withdrawal these NaN in a matrix com 3D

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 14 de Jul. de 2014
Editada: Azzi Abdelmalek el 14 de Jul. de 2014
You can't remove some values of your matrix. You can remove columns, rows or channels. Obviously, the size of your matrix will be reduced
  3 comentarios
Azzi Abdelmalek
Azzi Abdelmalek el 14 de Jul. de 2014
In your original question, your matrix is 10x8x2.
Carlos Batista
Carlos Batista el 14 de Jul. de 2014
my original matrix has 180x88x1919

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Logical en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by