kuis DSP - subplot(212;plot(F,PR xlabel'Frekuensi(Hz...

This preview shows pages 1–2. Sign up to view the full content.

A.Filter Analog clear close F=0:1:50; W=2*pi*F H=10./((1i.*W)+20);` MR=abs(H); PR=angle(H)*180/pi; %angle dlm bntuk rad jdi ubh ke bntuk derajat subplot(211);plot(F,MR) xlabel( 'Frekuensi (Hz)' ) ylabel( 'Magnitude' ) title( 'Magnitude Respon' ) subplot(212);plot(F,PR) xlabel( 'Frekuensi (Hz)' ) ylabel( 'Phase (Derajat)' ) title( 'Phase Respon' ) B.Filter Digital 1 clear close F=0:1:50; W=2*pi*F Z=exp(-1i*W); Z1=exp(-2i*W); H=1- Z/1+1,2.*Z+0,32.*Z1; MR=abs(H); PR=angle(H)*180/pi; %angle dlm bntuk rad jdi ubh ke bntuk derajat subplot(211);plot(F,MR) xlabel( 'Frekuensi (Hz)' ) ylabel( 'Magnitude' ) title( 'Magnitude Respon'

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ) subplot(212);plot(F,PR) xlabel( 'Frekuensi (Hz)' ) ylabel( 'Phase (Derajat)' ) title( 'Phase Respon' ) C.Filter Digital 2 clear close F=0:1:50; W=2*pi*F Z=exp(-1i*W); Z1=exp(-3i*W); H=-2.*Z+0,55.*Z1/-2,5+2.*Z-0,2.*Z1; MR=abs(H); PR=angle(H)*180/pi; %angle dlm bntuk rad jdi ubh ke bntuk derajat subplot(211);plot(F,MR) xlabel( 'Frekuensi (Hz)' ) ylabel( 'Magnitude' ) title( 'Magnitude Respon' ) subplot(212);plot(F,PR) xlabel( 'Frekuensi (Hz)' ) ylabel( 'Phase (Derajat)' ) title( 'Phase Respon' )...
View Full Document

This note was uploaded on 11/14/2011 for the course DDDD h0322 taught by Professor Whoknow during the Spring '11 term at Bina Nusantara University.

Page1 / 2

kuis DSP - subplot(212;plot(F,PR xlabel'Frekuensi(Hz...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online