How to code "e" by itself in equation e-1?

3 visualizaciones (últimos 30 días)
Kristine
Kristine el 24 de Jul. de 2022
Respondida: Steven Lord el 24 de Jul. de 2022
How do I code for an equation just using e-1?
  1 comentario
Torsten
Torsten el 24 de Jul. de 2022
Editada: Torsten el 24 de Jul. de 2022
e is coded as exp(1)

Iniciar sesión para comentar.

Respuesta aceptada

Matt J
Matt J el 24 de Jul. de 2022
Editada: Matt J el 24 de Jul. de 2022

Más respuestas (1)

Steven Lord
Steven Lord el 24 de Jul. de 2022
@Torsten and @Matt J are correct to suggest the exp function, but if the quantity x/a can be very small you might also want to look at the expm1 function.

Categorías

Más información sobre Data Type Identification en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by