sawtooth()非符号函数,不能用于符号计算. 只能用数值方法求傅里叶变换
t=0:0.1:102.3;
y = sawtooth(t,1);
F=abs(fft(y));
subplot(211);plot(y);
subplot(212);plot(F(1:512));