How to write this expression in MatLab
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
x*e^(ln(2)x)=1

0 commentaires
Réponse acceptée
Jan
le 7 Déc 2021
x * exp(log(2^x)) = 1
3 commentaires
Yongjian Feng
le 7 Déc 2021
Modifié(e) : Yongjian Feng
le 7 Déc 2021
exp already means power, e^x is exp(x). matlab will even simplify this for you.
Jan
le 7 Déc 2021
@MARTINS Preimanis: Whenever you have such questions, there are two standard ways:
- Ask Matlab: doc exp
- Try it: exp(2)
Plus de réponses (1)
Yongjian Feng
le 7 Déc 2021
Modifié(e) : Yongjian Feng
le 7 Déc 2021
e^x is exp(x) in matlab, and lnx is log(x).
0 commentaires
Voir également
Catégories
En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!