Sample Sinyal Input Diskrit
Sample Sinyal Input Diskrit
n1=[0 : 2];
x1=[1 2 3];
figure(1);
subplot(3, 1, 1);
stem(n1,x1);
xlabel('n1');
ylabel('x1');
title('sinyal pertama');
n1=[0 : 2];
v1=[2 1 3];
subplot(3, 1, 2);
stem(n1,v1);
xlabel('n1');
ylabel('v1');
title('sinyal kedua');
n1=[-2 : 0];
v1=[3 1 2];
subplot(3, 1, 3);
stem(n1,v1);
xlabel('n1');
ylabel('v1');
title('sinyal kedua yang telah melalui proses pembalikan');
n1=[-2 : 2];
hk=[0 0 2 0 0];
figure(2);
subplot(3, 1, 1);
stem(n1,hk);
xlabel('n1');
ylabel('hk');
n1=[-1 : 2];
hk=[0 1 4 0 ];
figure(2);
subplot(3, 1, 2);
stem(n1,hk);
xlabel('n1');
ylabel('hk');
n1=[0 : 2];
hk=[3 2 6 ];
figure(2);
subplot(3, 1, 3);
stem(n1,hk);
xlabel('n1');
ylabel('hk');
n1=[0 : 3];
hk=[0 6 3 0 ];
figure(3);
subplot(3, 1, 1);
stem(n1,hk);
xlabel('n1');
ylabel('hk');
n1=[0 : 4];
hk=[0 0 9 0 0 ];
figure(3);
subplot(3, 1, 2);
stem(n1,hk);
xlabel('n1');
ylabel('hk');
n1=[0 : 5];
hk=[0 0 0 0 0 0 ];
figure(3);
subplot(3, 1, 3);
stem(n1,hk);
xlabel('n1');
ylabel('hk');