double presition problem

2 次查看(过去 30 天)
Mary Kodogianni
Mary Kodogianni 2011-4-9
Hello to everyone, I want find function to return coordinates of a matrix,but it returns Empty matrix: 0-by-1 a lot of times.I think that is a double presicion problem.I remember taht there was a matlab faq that analysed this problem,but i can't find it.Could anybody help me with this?Thank's in advantage!

回答(3 个)

the cyclist
the cyclist 2011-4-9
I think you mean problems arising from the use of "floating point" representation of numbers, so you might want to search on "floating point" and "matlab" to find some info. Here is one resource from the Mathworks site:
It points to other sources of information that also might help you.
If that does not answer your question, you could post some of your code maybe find some help sorting things out.

bym
bym 2011-4-9

Mary Kodogianni
Mary Kodogianni 2011-4-9
The subject is that i want to find the coordinates of a matrix that have the same values with some items and find function was an easy way to do this.

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by