blob: 3d96d686938513b8b8d07bb894efae5da55ddfdc (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//Example 11.1
clc;clear;close;
x=[0:6 0:6];
y=x(1:3:length(x));
disp(x,'Input signal x(n)=');
disp(y,'Output signal of decimation process by factor three y(n)');
subplot(2,1,1);
plot2d3(x);title('Input signal x(n)');
subplot(2,1,2);
plot2d3(y);title('Output signal y(n)');
|