How to set all elements of a matrix that meet a certain criteria to NaN?
4 views (last 30 days)
Show older comments
I have a Matrix A with the size of [200 100 20 60]. How do I set all elements larger than 10^20 as NaN?
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Logical in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!