How to write this expression in MatLab

1 Ansicht (letzte 30 Tage)
MARTINS Preimanis
MARTINS Preimanis am 7 Dez. 2021
Kommentiert: Jan am 7 Dez. 2021
x*e^(ln(2)x)=1

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Yongjian Feng
Yongjian Feng am 7 Dez. 2021
Bearbeitet: Yongjian Feng am 7 Dez. 2021
e^x is exp(x) in matlab, and lnx is log(x).

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by