Meaning of this Number
4 views (last 30 days)
Show older comments
Marvin Friedrich
on 9 May 2021
Answered: Image Analyst
on 9 May 2021
Hello Guys i have a question regarding a number which i get from Matlab.
Some values of my calculations are normal comma numbers like 0.1
For some entries is in the column generation above the numbers of the array 1.0e-16 and then below the values of the array.
Are the numbers then equal to 0?
Thx for your answers
0 Comments
Accepted Answer
Image Analyst
on 9 May 2021
Possibly but not necessarily. They may be less than 0.0001 * 10^-16 so they display as zero in a display like that, where the other numbers are bigger and it tries to decide on the overall best exponent for displaying all the numbers it needs to display. You can inspect it directly like this
zeroMap = val(:, :, 6, 1) == 0;
zeroMap will be 1 only where the value is exactly zero, and 0 if the value is non-zero.
0 Comments
More Answers (0)
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!