Matrix element deletion for elements greater than an integer

1 次查看(过去 30 天)
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

采纳的回答

John D'Errico
John D'Errico 2016-6-22
T(T>Tmax) = NaN;

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Shifting and Sorting Matrices 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by