nan in if statement
165 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 Data Type Identification 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!