Anda di halaman 1dari 13

LAPORAN PRAKTIKUM PEMROSESAN SINYAL 1. Menentukan zero-state input dari persamaan: a.

x(n) = 6*y(n)-5*y(n-1)-y(n-2) List syntax pada matlab:


y=[3 4 5] x(1) = 3*(cos(1- pi)) x(2) = 3*(cos(2*pi)) for n= 3:17 n1=n-1 x(n) = 3*cos(1-pi) y(n) = 1/6*x(n)-5/6*y(n-1)-1/6*y(n-2) end y; stem(y); xlabel('x(n)'); ylabel('y(n)'); title('Grafik zero state input soal ke 1');

rumusan tersebut menghasilkan gambar grafik sebagai berikut:

Gambar 1. Grafik hasil pemrosesan sinyal a b. y(n) = 1/3*x(n)-8/3*y(n-1)-5/3*y(n-2) List syntax pada matlab:
y=[3 4 5] x(1) = 3*(cos(1- pi)) x(2) = 3*(cos(2*pi)) for n= 3:17 n1=n-1

x(n) = 3*cos(1-pi) y(n) = 1/3*x(n)-8/3*y(n-1)-5/3*y(n-2) end y; stem(y); xlabel('x(n)'); ylabel('y(n)'); title('Grafik zero state input soal ke 1');

rumusan tersebut menghasilkan gambar grafik sebagai berikut:

Gambar 2. Grafik hasil pemrosesan sinyal b c. x(n) = 6*y(n)-17*y(n-1)-5*y(n-2) List syntax pada matlab:
y=[3 4 5] x(1) = 3*(cos(1- pi)) x(2) = 3*(cos(2*pi)) for n= 3:17 n1=n-1 x(n) = 3*cos(1-pi) y(n) = 1/6*x(n)-17/6*y(n-1)-5/6*y(n-2) end y; stem(y); xlabel('x(n)'); ylabel('y(n)'); title('Grafik zero state input soal ke 1');

rumusan tersebut menghasilkan gambar grafik sebagai berikut:

Gambar 3. Grafik hasil pemrosesan sinyal c Percobaan diatas tidak hanya dilakukan menggunakan bantuan program komputasi matlab, namun juga dengan cara manual yang dilakukan pada lembar terpisah. Berdasarkan hasil percobaan, dapat disimpulkan bahwa sistem yang ditinjau merupakan sistem tidak stabil. Hal itu, dapat terlihat dari grafik hasil pemrosesan sinyal yang jika ditarik garis antar titiknya akan membetuk sinyal sinus amplitudo maksimumnya terus berubah. 2. Konvolusi sinyal a. Konvolusi sinyal a dengan dirinya sendiri List syntax pada matlab:
y=[3 4 5] x(1) = 3*cos(1-pi) x(2) = 3*cos(2*pi) for n =3:17 n1 = n-1 x(n) = 3*cos(1-pi)) y(n) = 1/6*x(n)-5/6*y(n-1)-1/6*y(n-2) end y; stem(y); subplot(2,2,3); y_conv=conv(y,y) y_conv; subplot(3,4,3);plot(y)

stem(y); title('grafik sinyal y') subplot(3,2,3);plot(y) stem(y); title('grafik sinyal y') subplot(4,4,3);plot(y_conv) stem(y_conv); title('grafik sinyal konvolusi terhadap dirinya sendiri')

rumusan tersebut menghasilkan gambar grafik sebagai berikut:

Gambar 4. Grafik hasil konvolusi sinyal a b. Konvolusi sinyal b dengan dirinya sendiri List syntax pada matlab:
y=[3 4 5] x(1) = 3*cos(1-pi) x(2) = 3*cos(2*pi) for n =3:17 n1 = n-1 x(n) = 3*cos(1-pi) y(n) = 1/3*x(n)-8/3*y(n-1)-5/3*y(n-2) end y; stem(y); subplot(2,2,3); y_conv=conv(y,y) y_conv; subplot(3,4,3);plot(y) stem(y); title('grafik sinyal y') subplot(3,2,3);plot(y) stem(y);

title('grafik sinyal y') subplot(4,4,3);plot(y_conv) stem(y_conv); title('grafik sinyal konvolusi terhadap dirinya sendiri')

rumusan tersebut menghasilkan gambar grafik sebagai berikut:

Gambar 5. Grafik hasil konvolusi sinyal b


c. Konvolusi sinyal c dengan dirinya sendiri

List syntax pada matlab:


y=[3 4 5] x(1) = 3*cos(1-pi) x(2) = 3*cos(2*pi) for n =3:17 n1 = n-1 x(n) = 3*cos(1-pi) y(n) = 1/6*x(n)-17/6*y(n-1)-5/6*y(n-2) end y; stem(y); subplot(2,2,3); y_conv=conv(y,y) y_conv; subplot(3,4,3);plot(y) stem(y); title('grafik sinyal y') subplot(3,2,3);plot(y) stem(y);

title('grafik sinyal y') subplot(4,4,3);plot(y_conv) stem(y_conv); title('grafik sinyal konvolusi terhadap dirinya sendiri')

rumusan tersebut menghasilkan gambar grafik sebagai berikut:

Gambar 6. Grafik hasil konvolusi sinyal c


d. Konvolusi sinyal a dengan h[n] = x(n) = (0.9)n[u(n)-u(n-15)]; dimana 0 < n < 15

List syntax pada matlab:


y = [3 4 5] x(1) = 3*(cos(1- pi)) x(2) = 3*(cos(2*pi)) for n= 3:6 n1 = n-1 x(n)=3*cos(1-pi) y(n)=1/6*x(n)-5/6*y(n-1)-1/6*y(n-2) end for n=1:15 n2(n)=n-1 h(n)=(0.9)^n2(n) end y_conv=conv(y,h) n4=size(n1)+size(n2)-1 n3=0:n4-1 subplot(2,2,1);plot(y) stem(y);

title('grafik sinyal y') xlabel('x') ylabel('y') subplot(2,2,2);plot(h) stem(h); title('grafik sinyal h') xlabel('x') ylabel('y') subplot(2,1,2);plot(y_conv) stem(y_conv); title('grafik sinyal konvolusi y terhadap h') xlabel('x') ylabel('y')

rumusan tersebut menghasilkan gambar grafik sebagai berikut:

Gambar 7. Grafik hasil konvolusi sinyal a


e. Konvolusi sinyal b dengan h[n] = x(n) = (0.9)n[u(n)-u(n-15)]; dimana 0 < n < 15

List syntax pada matlab:


y = [3 4 5] x(1) = 3*(cos(1- pi)) x(2) = 3*(cos(2*pi)) for n= 3:6 n1 = n-1 x(n)=3*cos(1-pi) y(n)=1/3*x(n)-8/3*y(n-1)-5/3*y(n-2) end for n=1:15 n2(n)=n-1 h(n)=(0.9)^n2(n) end y_conv=conv(y,h)

n4=size(n1)+size(n2)-1 n3=0:n4-1 subplot(2,2,1);plot(y) stem(y); title('grafik sinyal y') xlabel('x') ylabel('y') subplot(2,2,2);plot(h) stem(h); title('grafik sinyal h') xlabel('x') ylabel('y') subplot(2,1,2);plot(y_conv) stem(y_conv); title('grafik sinyal konvolusi y terhadap h') xlabel('x') ylabel('y')

rumusan tersebut menghasilkan gambar grafik sebagai berikut:

Gambar 8. Grafik hasil konvolusi sinyal b


f. Konvolusi sinyal c dengan h[n] = x(n) = (0.9)n[u(n)-u(n-15)]; dimana 0 < n < 15

List syntax pada matlab:


y = [3 4 5] x(1) = 3*(cos(1- pi)) x(2) = 3*(cos(2*pi)) for n= 3:6 n1 = n-1 x(n)=3*cos(1-pi) y(n)=1/6*x(n)-17/6*y(n-1)-5/6*y(n-2)

end for n=1:15 n2(n)=n-1 h(n)=(0.9)^n2(n) end y_conv=conv(y,h) n4=size(n1)+size(n2)-1 n3=0:n4-1 subplot(2,2,1);plot(y) stem(y); title('grafik sinyal y') xlabel('x') ylabel('y') subplot(2,2,2);plot(h) stem(h); title('grafik sinyal h') xlabel('x') ylabel('y') subplot(2,1,2);plot(y_conv) stem(y_conv); title('grafik sinyal konvolusi y terhadap h') xlabel('x') ylabel('y')

rumusan tersebut menghasilkan gambar grafik sebagai berikut:

Gambar 9. Grafik hasil konvolusi sinyal c


g. Konvolusi sinyal a dengan h[n] = x(n) = (1.5)n[u(n)-u(n-15)]; dimana 0 < n < 15

List syntax pada matlab:


y=[3 4 5] x(1) = 3*(cos(1- pi)) x(2) = 3*(cos(2*pi)) for n= 3:6 n1 = n-1 x(n)=3*cos(1-pi) y(n)=1/6*x(n)-5/6*y(n-1)-1/6*y(n-2) end for n=1:15 n2(n)=n-1 h(n)=(1.5)^n2(n) end y_conv=conv(y,h) n4=size(n1)+size(n2)-1 n3=0:n4-1 subplot(2,2,1);plot(y) stem(y); title('grafik sinyal y') xlabel('x') ylabel('y') subplot(2,2,2);plot(h) stem(h); title('grafik sinyal h') xlabel('x') ylabel('y') subplot(2,1,2);plot(y_conv) stem(y_conv); title('grafik sinyal konvolusi y terhadap h') xlabel('x') ylabel('y')

rumusan tersebut menghasilkan gambar grafik sebagai berikut:

Gambar 10. Grafik hasil konvolusi sinyal a


h. Konvolusi sinyal b dengan h[n] = x(n) = (1.5)n[u(n)-u(n-15)]; dimana 0 < n < 15

List syntax pada matlab:


y=[3 4 5] x(1) = 3*(cos(1- pi)) x(2) = 3*(cos(2*pi)) for n= 3:6 n1 = n-1 x(n)=3*cos(1-pi) y(n)=1/3*x(n)-8/3*y(n-1)-5/3*y(n-2) end for n=1:15 n2(n)=n-1 h(n)=(1.5)^n2(n) end y_conv=conv(y,h) n4=size(n1)+size(n2)-1 n3=0:n4-1 subplot(2,2,1);plot(y) stem(y); title('grafik sinyal y') xlabel('x') ylabel('y') subplot(2,2,2);plot(h) stem(h); title('grafik sinyal h') xlabel('x') ylabel('y') subplot(2,1,2);plot(y_conv) stem(y_conv);

title('grafik sinyal konvolusi y terhadap h') xlabel('x') ylabel('y')

rumusan tersebut menghasilkan gambar grafik sebagai berikut:

Gambar 11. Grafik hasil konvolusi sinyal b


i.

Konvolusi sinyal c dengan h[n] = x(n) = (1.5)n[u(n)-u(n-15)]; dimana 0 < n < 15 List syntax pada matlab:
y=[3 4 5] x(1) = 3*(cos(1- pi)) x(2) = 3*(cos(2*pi)) for n= 3:6 n1 = n-1 x(n)=3*cos(1-pi) y(n)=1/6*x(n)-17/6*y(n-1)-5/6*y(n-2) end for n=1:15 n2(n)=n-1 h(n)=(1.5)^n2(n) end y_conv=conv(y,h) n4=size(n1)+size(n2)-1 n3=0:n4-1 subplot(2,2,1);plot(y) stem(y); title('grafik sinyal y') xlabel('x') ylabel('y') subplot(2,2,2);plot(h)

stem(h); title('grafik sinyal h') xlabel('x') ylabel('y') subplot(2,1,2);plot(y_conv) stem(y_conv); title('grafik sinyal konvolusi y terhadap h') xlabel('x') ylabel('y')

rumusan tersebut menghasilkan gambar grafik sebagai berikut:

Gambar 12. Grafik hasil konvolusi sinyal c Anggota tim dan kontribusinya: 1. Wahyu Kusuma A (2408100032): Mengerjakan percobaan dengan cara manual 2. I Made Dani P (2408100086): Mengerjakan percobaan dengan Matlab

Anda mungkin juga menyukai