Matrix value comparison of values
Show older comments
I have two surfaces in matrix form 200x200, M1 and M2. I want to set all values in M1 to NaN if they are higher than the corresponding values in M2. How would i go about this?
Thanks,
Luke
Accepted Answer
More Answers (0)
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!