You are on page 1of 3

Nilai Nilai

Sinyal
Resistor Capasitor

10K 1nF

10K 1µF
Program matlab untuk rangkaian Diferensiator

Menggunakan kapasitor 1nF

c = 1e-9;
r = 10e3;
num = [-1];
den = [1 c*r];
w = logspace(-1,7);
h = freqs(num,den,w);
f = w/(2*pi);
semilogx(f,abs(h))
xlabel('Frekuensi(Hz)')
ylabel('Gain')
text(1.0e-1,2.5,'R1 = 10 Kiloohms')
title('Respon Diferensiator')

Grafik frekuensi
Menggunakan kapasitor 1µF

c = 1e-6;
r = 10e3;
num = [-1];
den = [1 c*r];
w = logspace(-1,7);
h = freqs(num,den,w);
f = w/(2*pi);
semilogx(f,abs(h))
xlabel('Frekuensi(Hz)')
ylabel('Gain')
text(1.0e-1,2.5,'R1 = 10 Kiloohms')
title('Respon Diferensiator')

Grafik frekuensi