Meaning of this Number

3 visualizaciones (últimos 30 días)
Marvin Friedrich
Marvin Friedrich el 9 de Mayo de 2021
Respondida: Image Analyst el 9 de Mayo de 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

Respuesta aceptada

Image Analyst
Image Analyst el 9 de Mayo de 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.

Más respuestas (0)

Categorías

Más información sobre Logical en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by