Error caused by that small difference between two number is divided by a very small number
3 次查看(过去 30 天)
显示 更早的评论
We have a situation that the difference between two complex numbers is divided by a very small complex number. For example, the complex number is Z=10E-6 + i10E-6. The difference Delta between two complex numbers is about 10E-5. However, because of the noise in these two complex numbers (noise is around 10E-3, but we do not know their specific values). So when we solve S from the equation S = Delta / Z, we got a very big S, which expanded the noise by 10E+3.
Do you know how to obtain a reasonable S (or approximate S) from the above equation?
Thanks a lot!
1 个评论
Walter Roberson
2018-7-30
What would your code expect if the two values were identical? What if they were identical to within round off error?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!