sim5 - d semilogx(f,phase%graph part title'Phase vs log...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
clear format short g f ein = 1; f=(100:100:10e3); r1=1500; c1=100e-9; c r=r1; xc=(1./(2*pi*f*c1)); x mag=xc./(sqrt(r.^2+xc.^2)); phase=-90-atan(-xc./r); db=20*log(mag)
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: d semilogx(f,phase) %graph part title('Phase vs log frequency') xlabel('Frequency (Hz)') ylabel('Phase (deg)') grid g...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online