how can I write this exponential function and plot it in matlab?
이전 댓글 표시
I want to write this function in matlab,but always wrong.
y=[(-14)*e^( -1500*x )]+[26*e^(-20000*x)]
I written as
y=(-14)*exp.^( -1500*x )+26*exp^(-20000*x)
I don't know where was wrong.
and I want to plot this function.
댓글 수: 4
Walter Roberson
2021년 6월 28일
remove the ^ and .^ just exp(something)
G G
2021년 6월 28일
KSSV
2021년 6월 28일
Show us your complete attempt.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Numerical Integration and Differentiation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
