nan in if statement
78 views (last 30 days)
Show older comments
Hi all,
How can I say:
if (a==0 or a==NaN)
%whatever
end
Thanks.
1 Comment
Answers (2)
See Also
Categories
Find more on Logical 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!