Effacer les filtres
Effacer les filtres

How to write this expression in MatLab

2 vues (au cours des 30 derniers jours)
MARTINS Preimanis
MARTINS Preimanis le 7 Déc 2021
Commenté : Jan le 7 Déc 2021
x*e^(ln(2)x)=1

Réponse acceptée

Jan
Jan le 7 Déc 2021
x * exp(log(2^x)) = 1
  3 commentaires
Yongjian Feng
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
Jan le 7 Déc 2021
@MARTINS Preimanis: Whenever you have such questions, there are two standard ways:
  1. Ask Matlab: doc exp
  2. Try it: exp(2)

Connectez-vous pour commenter.

Plus de réponses (1)

Yongjian Feng
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).

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Tags

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by