How to write this expression in MatLab

 Respuesta aceptada

Jan
Jan el 7 de Dic. de 2021
x * exp(log(2^x)) = 1

3 comentarios

MARTINS Preimanis
MARTINS Preimanis el 7 de Dic. de 2021
Editada: MARTINS Preimanis el 7 de Dic. de 2021
should't this (log(2^x)) be raised in power to the exp
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

1 voto

e^x is exp(x) in matlab, and lnx is log(x).

Categorías

Más información sobre Symbolic Math Toolbox en Centro de ayuda y File Exchange.

Productos

Versión

R2018a

Etiquetas

Preguntada:

el 7 de Dic. de 2021

Comentada:

Jan
el 7 de Dic. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by