how to plot exponential function
39 次查看(过去 30 天)
显示 更早的评论
hello! so i am kinda confused with how to change this to matlab code, because i've tried exp*(-1000*|t|) still not working
pls help me! thank you!
x(t)=exp(-1000|t|)
0 个评论
采纳的回答
madhan ravi
2018-11-22
syms t
x=exp(-1000*abs(t))
fplot(x)
5 个评论
JOHN GIL BILOLO
2021-5-5
t=linspace(0,30,5000);
x=exp(-2000.*abs(t));
y=fft(x);
xlabel('chito');
ylabel('loko');
plot(t, abs(y),'g--'), title('Amplitude tsamba lang');
plot(t, angle(y),'g--'), title('Exponential kunwari');
grid;
更多回答(1 个)
Md. Imran Hossain
2024-10-16
Implementing exponential function using MATLAB. clear; clc; m=1; c=2; i=linspace(0,.01,5); y=exp(-i); plot(i,y)
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Calculus 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!