필터 지우기
필터 지우기

Comparing very small numbers

조회 수: 2 (최근 30일)
Saptarshi Bhattacharjee
Saptarshi Bhattacharjee 2012년 1월 23일
답변: Voss 2021년 12월 28일
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일
Look into using eps() for this.

카테고리

Help CenterFile Exchange에서 Cell Arrays에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by