高二下期信号与系统实验(
MATLAB
?/p>
一、信号的时域分析?/p>
MATLAB
实现
1.
?/p>
1
?/p>
f(t)=2sin(2t)/t,
?/p>
f(-3t+5)
syms
t
;
f=sym(
'2*sin(2*t)/t'
);
f1=subs(f,t,t+5);
f2=subs(f1,t,3*t);
f3=subs(f2,t,-t);
subplot(2,2,1);ezplot(f,[-8,8]);grid
on
;
subplot(2,2,2);ezplot(f1,[-8,8]);grid
on
;
subplot(2,2,3);ezplot(f2,[-8,8]);grid
on
;
subplot(2,2,4);ezplot(f3,[-8,8]);grid
on
;
(2)f(k)=sin(100k),
?/p>
f(k-10)
n=-pi:0.1:pi;
x=sin(100*(n-10));
stem(n,x)
