I have a code where I have to compare between very small numbers. I have a function where I input two values and it gives me the result, which I have to compare with 0. Generally the results are very small, and hence I am not getting accurate results. Any help in this plzz??

댓글 수: 1

Walter Roberson
Walter Roberson 2012년 1월 23일
What are you seeing, and what would you consider to be "accurate results" for your situation? Also, how small is "very small" ?

댓글을 달려면 로그인하십시오.

답변 (1개)

Voss
Voss 2021년 12월 28일

0 개 추천

Look into using eps() for this.

카테고리

도움말 센터File Exchange에서 Programming Utilities에 대해 자세히 알아보기

질문:

2012년 1월 23일

답변:

2021년 12월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by