Funny bug with respect to NaN value,
Show older comments
declare X as
X = [1 2 3 4 NaN];
and then use,
max(X) yields, 4
min(X) yields, 1
but in workspace the Min and Max column displays NaN and NaN,
[PS : I agree that NaN values are always ignored.]
Is this a required feature or a bug ?
Accepted Answer
More Answers (0)
Categories
Find more on NaNs 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!