Borrar filtros
Borrar filtros

NAN of matrix

1 visualización (últimos 30 días)
x
x el 8 de Sept. de 2011
e(4957) gives NAN in my code ..EXP(OF SOME LARGE VALUE) GIVES NAN,...what 2 do ?

Respuesta aceptada

Paulo Silva
Paulo Silva el 8 de Sept. de 2011
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 comentario
Walter Roberson
Walter Roberson el 8 de Sept. de 2011
Or possibly e is a function instead of a variable. But it certainly isn't the same as exp() whatever it is.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Multidimensional Arrays en Help Center y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Community Treasure Hunt

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

Start Hunting!

Translated by