Borrar filtros
Borrar filtros

Why do my values not match data on plot?

2 visualizaciones (últimos 30 días)
Phil Whitfield
Phil Whitfield el 13 de Mayo de 2018
Editada: Phil Whitfield el 13 de Mayo de 2018
When using the find(ismember()) it comes up with an empty value.
Can anyone explain why?/how it isn't working?
Thanks
  1 comentario
Phil Whitfield
Phil Whitfield el 13 de Mayo de 2018
It was a rounding error, I had to add
zz=rouund(zz,4);
and then it worked fine

Iniciar sesión para comentar.

Respuestas (1)

the cyclist
the cyclist el 13 de Mayo de 2018
My best guess on why
find(ismember())
is not working is that the number you are looking for is not exactly represented in floating point. You could try ismembertol.
Can you upload a MAT file with the value of T in it, and tell us exactly which point you are looking for?

Community Treasure Hunt

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

Start Hunting!

Translated by