⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 exa2_5.m

📁 matlab应用实例。如:FIR、IIR数字滤波器设计等。
💻 M
字号:
% exa2-5_circle_shift.m, for example 2-5
% to test circle_shift.m

clear;
n=0:8;
x=[1,2,3,4,5,6,7,8,9];
y2=circshift(x,2,9);
y4=circshift(x,4,9);
y6=circshift(x,6,9);
y8=circshift(x,8,9);
y9=circshift(x,9,9);
subplot(611)
stem(n,x)
ylabel('x(n)')
subplot(612)
stem(n,y2)
ylabel('y2(n)')
subplot(613)
stem(n,y4)
ylabel('y4(n)')
subplot(614)
stem(n,y6)
ylabel('y6(n)')
subplot(615)
stem(n,y8)
ylabel('y8(n)')
subplot(616)
stem(n,y9)
ylabel('y9(n)')

⌨️ 快捷键说明

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