主题: [MATLAB基础] 初学者 help
查看单个帖子
旧 2012-04-13, 20:40   #1
pgwade
初级会员
 
注册日期: 2012-04-13
帖子: 1
声望力: 0
pgwade 正向着好的方向发展
帖子 初学者 help

syms t, y1,y2;
Fs=10000;
t=[0,1/Fs,0.1];
y1=sawtooth(2*pi*50*t,0.5);
subplot(221); plot(t,y1);
subplot(222); ezplot(abs(fourier(y1)),[-5,5]);
y2=sawtooth(2*pi*50*(t-3),0.5);
subplot(223); plot(t,y3);
subplot(224); ezplot(abs(fourier(y2)),[-5,5]);


用matlab展示傅里叶变换,哪里错了? fourier、ezplot怎么调用?
pgwade 当前离线   回复时引用此帖