How to write this expression in MatLab

조회 수: 1 (최근 30일)
MARTINS Preimanis
MARTINS Preimanis 2021년 12월 7일
댓글: Jan 2021년 12월 7일
x*e^(ln(2)x)=1

채택된 답변

Jan
Jan 2021년 12월 7일
x * exp(log(2^x)) = 1
  댓글 수: 3
Yongjian Feng
Yongjian Feng 2021년 12월 7일
편집: Yongjian Feng 2021년 12월 7일
exp already means power, e^x is exp(x). matlab will even simplify this for you.
Jan
Jan 2021년 12월 7일
@MARTINS Preimanis: Whenever you have such questions, there are two standard ways:
  1. Ask Matlab: doc exp
  2. Try it: exp(2)

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Yongjian Feng
Yongjian Feng 2021년 12월 7일
편집: Yongjian Feng 2021년 12월 7일
e^x is exp(x) in matlab, and lnx is log(x).

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by