How do I check if any elements are not a number in a matrix.
36 views (last 30 days)
Show older comments
I want to check that the matrix I have contains any non numbers in it. I guess I would use the any() function? I just don't know what code to use.
2 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!