How to write this expression in MatLab

5 visualizzazioni (ultimi 30 giorni)
MARTINS Preimanis
MARTINS Preimanis il 7 Dic 2021
Commentato: Jan il 7 Dic 2021
x*e^(ln(2)x)=1

Risposta accettata

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

Accedi per commentare.

Più risposte (1)

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

Categorie

Scopri di più su Exponents and Logarithms in Help Center e File Exchange

Prodotti


Release

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by