NAN of matrix

1 次查看(过去 30 天)
x
x 2011-9-8
e(4957) gives NAN in my code ..EXP(OF SOME LARGE VALUE) GIVES NAN,...what 2 do ?

采纳的回答

Paulo Silva
Paulo Silva 2011-9-8
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 个)

类别

Help CenterFile Exchange 中查找有关 NaNs 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by