フィルターのクリア

Comparing very small numbers

1 回表示 (過去 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 Center および File ExchangeGraph and Network Algorithms についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by