how can I write this exponential function and plot it in matlab?
Ältere Kommentare anzeigen
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 Kommentare
Walter Roberson
am 28 Jun. 2021
remove the ^ and .^ just exp(something)
G G
am 28 Jun. 2021
KSSV
am 28 Jun. 2021
Show us your complete attempt.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Numerical Integration and Differentiation finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
