How to ignore values or set to NaN while keeping matrix same size?

1 次查看(过去 30 天)
I have a 2400 x 2400 matrix, 'alb_short', with values ranging from 1-100, but with many outliers over 100 which need to be ignored so I can plot the results.
How can I ignore these large values or set them to NaN so my matrix stays at its original 2400x2400 size?
Thank you.

采纳的回答

Azzi Abdelmalek
Azzi Abdelmalek 2016-5-17

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Multidimensional Arrays 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by