You are on page 1of 2

6.

6 Data Hasil Percobaanl


Tabel 6.1 Data Hasil Percobaan
No Jenis Listin Hasil
g
1 Respon
clear all;
w=0:.01:3.14;
a=0.90;
H=1-a*exp(-j*w);
plot(w/3.14,20*log10(abs(
H)),'linewidth',2)
grid
axis([0 1.00 -25 10])
xlabel('frekuensi
ternormalisasi')
ylabel('magnitudo (dB)')
title('Pre-Emphasis
filter')

Gambar 6.1 Gelombang Respon dengan


nilai a 0.80

clear all;
w=0:.01:3.14;
a=0.90;
H=1-a*exp(-j*w);
plot(w/3.14,20*log10(abs(
H)),'linewidth',2)
grid
axis([0 1.00 -25 10])
xlabel('frekuensi
ternormalisasi')
ylabel('magnitudo (dB)')
title('Pre-Emphasis
filter')

Gambar 6.2 Gelombang Respon dengan


nilai a 0.90

Buku Petunjuk Praktikum


SinyaldanSistem
2 Filter
clear all;
fs=10000;
[x,fs]=wavread('da.wav');
xx=length(x)+1;x(xx)=0;
alpha=0.80;
for i=2:xx y0(i)=x(i-1);
end
for i=1:xx
y(i) = x(i) -
alpha*y0(i);
end
subplot(211)
t=1:xx;
plot(t/fs,y);legend('input'
);grid
xlabel('waktu (dt)');
ylabel('magnitudo');
axis([0 0.7 -0.25 0.25]);
subplot(212) Gambar 6.4 Gelombang Filter
plot(t/fs,y0); dengan nilai a 0.80
legend('output');grid
xlabel('waktu (dt)');
ylabel('magnitudo');
axis([0 0.7 -1 1.5])

clear all;
fs=10000;
[x,fs]=wavread('da.wav');
xx=length(x)+1;x(xx)=0;
alpha=0.90;
for i=2:xx y0(i)=x(i-1);
end
for i=1:xx
y(i) = x(i) -
alpha*y0(i);
end
subplot(211)
t=1:xx;
plot(t/fs,y);legend('input'
);grid
xlabel('waktu (dt)');
ylabel('magnitudo');
axis([0 0.7 -0.25 0.25]);
subplot(212)
plot(t/fs,y0);
legend('output');grid Gambar 6.5 Gelombang Filter
xlabel('waktu (dt)'); dengan nilai a 0.90
ylabel('magnitudo');
axis([0 0.7 -1 1.5])

You might also like