So the question is given x =0.2 calculate (x^2) *e^4. I know for pi you just type pi which is just pi in the command. But how do I type e in the command window. Also how to use exponents? Do you just go (x^2) ? Do I need those brackets?

댓글 수: 9

Kenneth Gabriel
Kenneth Gabriel 2016년 9월 14일
sweet thx
James Tursa
James Tursa 2016년 9월 14일
If Star's answer met your needs, please formally Accept it.
Xingyu Xia
Xingyu Xia 2019년 7월 8일
exp()=e^
Abdalla
Abdalla 2022년 9월 19일
이동: Voss 2022년 9월 19일
x1 = 𝑒𝑗8𝜋/7
x1 = exp(1j*8*pi/7)
x1 = -0.9010 - 0.4339i
Jeeimy
Jeeimy 2023년 10월 22일
이동: DGM 2023년 10월 22일
Y=e^(1.2*t)
DGM
DGM 2023년 10월 22일
Use exp(). It's the same answer that's already been demonstrated several times on this page.
Neliswa
Neliswa 2025년 4월 18일
when i am using this normal e the code does not work mos, what should i do?
Stephen23
Stephen23 2025년 4월 18일
편집: Stephen23 2025년 4월 18일
"when i am using this normal e the code does not work mos, what should i do?"

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

 채택된 답변

Star Strider
Star Strider 2023년 4월 18일
편집: MathWorks Support Team 2023년 4월 18일

17 개 추천

Use the exponential function exp(y) to compute e^y. For example: 
x = 0.2;
Result = (x^2)*exp(4)
Result =
2.1839

추가 답변 (2개)

Harsh
Harsh 2021년 10월 18일

6 개 추천

e=exp
then use bracket
i.e. e^5=exp(5) in matlab
Cai Walsh
Cai Walsh 2022년 3월 13일

1 개 추천

say i needed Vout = VS (1 − e^-T/RC) , how would i write this as ive tried exp(-T/R*C) but wouldt work as theres a negative

댓글 수: 1

T = 2;
R = 5;
C = 7;
y = exp(-T/R*C)
y = 0.0608
z = exp(-14/5)
z = 0.0608
Or did you want to divide by the product of R and C?
w = exp(-T/(R*C))
w = 0.9445
q = exp(-2/35)
q = 0.9445

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

카테고리

도움말 센터File Exchange에서 Exponents and Logarithms에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

질문:

2016년 9월 14일

편집:

2025년 4월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by