How to write this expression in MatLab

1 visualización (últimos 30 días)
MARTINS Preimanis
MARTINS Preimanis el 7 de Dic. de 2021
Comentada: Jan el 7 de Dic. de 2021
x*e^(ln(2)x)=1

Respuesta aceptada

Jan
Jan el 7 de Dic. de 2021
x * exp(log(2^x)) = 1
  3 comentarios
Yongjian Feng
Yongjian Feng el 7 de Dic. de 2021
Editada: Yongjian Feng el 7 de Dic. de 2021
exp already means power, e^x is exp(x). matlab will even simplify this for you.
Jan
Jan el 7 de Dic. de 2021
@MARTINS Preimanis: Whenever you have such questions, there are two standard ways:
  1. Ask Matlab: doc exp
  2. Try it: exp(2)

Iniciar sesión para comentar.

Más respuestas (1)

Yongjian Feng
Yongjian Feng el 7 de Dic. de 2021
Editada: Yongjian Feng el 7 de Dic. de 2021
e^x is exp(x) in matlab, and lnx is log(x).

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by