NAN of matrix

e(4957) gives NAN in my code ..EXP(OF SOME LARGE VALUE) GIVES NAN,...what 2 do ?

 採用された回答

Paulo Silva
Paulo Silva 2011 年 9 月 8 日

0 投票

No e(4957) isn't exponential of that number, your e is a variable and you are calling the value at index 4957, exponential is done with the exp expression exp(4987) gives Inf

1 件のコメント

Walter Roberson
Walter Roberson 2011 年 9 月 8 日
Or possibly e is a function instead of a variable. But it certainly isn't the same as exp() whatever it is.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

タグ

タグが未入力です。

質問済み:

x
x
2011 年 9 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by