Error caused by that small difference between two number is divided by a very small number
조회 수: 2 (최근 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!