ex3024.m

来自「the file contain many matlab signal sour」· M 代码 · 共 25 行

M
25
字号
figure(1)
n=0:10;x=10*(0.8).^n;
[xec,xoc]=circevod(x);
subplot(211)
stem(n,xec);
axis([-0.5,10.5,-1,11])
subplot(212)
stem(n,xoc);
axis([-0.5,10.5,-4,4])
%
figure(2)
X=dft(x,11);Xec=dft(xec,11);Xoc=dft(xoc,11);
subplot(221)
stem(n,real(X));
axis([-0.5,10.5,-5,50])
subplot(222)
stem(n,imag(X));
axis([-0.5,10.5,-20,20])
subplot(223)
stem(n,real(Xec));
axis([-0.5,10.5,-5,50])
subplot(224)
stem(n,imag(Xoc));
axis([-0.5,10.5,-20,20])

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?