{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

lab3solutions

lab3solutions - ECE220P Fall2007 Lab3 solution Created by...

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

1 ECE220P Fall2007 Lab3 solution Created by Rong Guo Problem1 part.1 clear all R=250 C=1.5e-6 L=0.65 E=120 w0=1/sqrt(L*C) w=0.1*w0:0.1:10*w0; I=E./(R+j*(w*L-1./(w*C))); %Both of magnitude, and frequency axis are in linear scales. subplot(2,1,1) plot(w,abs(I));grid on xlabel( 'Frequency' ); ylabel( 'Magniture' ); subplot(2,1,2) plot(w,angle(I));grid on xlabel( 'Frequency' ); ylabel( 'Phase' ); 0 2000 4000 6000 8000 10000 12000 0 0.2 0.4 0.6 0.8 Frequency Magniture 0 2000 4000 6000 10000 12000 -2 -1 0 1 2 Frequency Phase

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

View Full Document
2 clear all R=250 C=1.5e-6 L=0.65 E=120 w0=1/sqrt(L*C) w=0.1*w0:0.1:10*w0; I=E./(R+j*(w*L-1./(w*C))); %Both of magnitude, and frequency axis are in log scales. subplot(2,1,1) loglog(w,abs(I));grid on xlabel( 'Frequency' ); ylabel( 'Magniture' ); subplot(2,1,2) semilogx(w,angle(I));grid on xlabel( 'Frequency' ); ylabel( 'Phase' ); 10 2 10 3 10 4 10 5 10 -2 10 -1 10 0 Frequency Magniture 10 2 10 3 10 4 10 5 -2 -1 0 1 2 Frequency Phase
3 clear all R=250 C=1.5e-6 L=0.65 E=120 w0=1/sqrt(L*C) w=0.1*w0:0.1:10*w0; I=E./(R+j*(w*L-1./(w*C))); %Only frequency-axis is in Log scales. subplot(2,1,1) semilogx(w,abs(I));grid on xlabel( 'Frequency' ); ylabel( 'Magniture' ); subplot(2,1,2) semilogx(w,angle(I));grid on xlabel( 'Frequency' ); ylabel( 'Phase' ); 10 2 10 3 10 4 10 5 0 0.2 0.4 0.6 0.8 Frequency Magniture 10 2 10 3 10 4 10 5 -2 -1 0 1 2 Frequency Phase

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

View Full Document
4 clear all R=250 C=1.5e-6
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 14

lab3solutions - ECE220P Fall2007 Lab3 solution Created by...

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

View Full Document
Ask a homework question - tutors are online