Matrix element deletion for elements greater than an integer

1 visualización (últimos 30 días)
Hi, I hope someone may be able to answer this problem. I have an matrix of temperatures 1001 x 200. What I would like to do is remove single elements of the matrix greater than a specific temperature (I'm assuming they have vaporized), and then plot the same size matrix with the deleted elements. Is there a way of doing this? Thanks, Andy

Respuesta aceptada

John D'Errico
John D'Errico el 22 de Jun. de 2016
T(T>Tmax) = NaN;
  2 comentarios
Andrew Wileman
Andrew Wileman el 22 de Jun. de 2016
Thanks John, I'll give it a try.
John D'Errico
John D'Errico el 22 de Jun. de 2016
Tools like plot or surf don't plot NaNs.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Logical 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!

Translated by