{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

hw11soln

# hw11soln - n=1280[1 0 d=[1 1600 8000000 w=logspace(2,5,100...

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

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

View Full Document
See Pages 11 and 12

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

View Full Document
IL ---- Vs IL ---- Vs

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

View Full Document

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

View Full Document

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

View Full Document
See Pages 11 and 13
%Problem #41 n=[25]; % Numerator of the Transfer Function d=[1 125 1e8]; % Denominator of the Transfer Function w=logspace(3,5,100); % Define w in logspace (10^3 to 10^5 with 100 divisions) h=freqs(n,d,w); h_db=20*log10(abs(h)); % Magnitude in dB phase=angle(h)*180/(pi); % Phase Angle in degrees figure; % PLOT subplot 211 semilogx(w,h_db, 'linewidth' ,2); title( 'Problem #41 Magnitude and Phase Response' ); ylabel( '|H(j\omega)| [dB]' ); grid on ; subplot 212 semilogx(w,phase, 'linewidth' ,2); xlabel( '\omega [rad/s]' ); ylabel( 'Phase [degrees]' );grid on ; %Problem #44 syms R1 R2 s L C H H=((R2/L)*s ) / (s^2+((R1+R2)/L)*s+1/(L*C)); R1=80; R2= 320; L=0.25; C=0.5e-6; H=((R2/L)*s ) / (s^2+((R1+R2)/L)*s+1/(L*C)); pretty(simplify(H)) % OUTPUT % s % 1280 --------------------- % 2 %

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: n=1280*[1 0]; d=[1 1600 8000000]; w=logspace(2,5,100); h=freqs(n,d,w); h_db=20*log10(abs(h)); phase=angle(h)*180/(pi); figure; subplot 211 semilogx(w,h_db, 'linewidth' ,2); title( 'Problem #44 Magnitude and Phase Response' ); ylabel( '|H(j\omega)| [dB]' ); grid on ; subplot 212 semilogx(w,phase, 'linewidth' ,2); xlabel( '\omega [rad/s]' ); ylabel( 'Phase [degrees]' );grid on ; ± 11 10 3 10 4 10 5-180-170-160-150-140-130-120-110-100 Problem #41 Magnitude and Phase Response |H(j ± )| [dB] 10 3 10 4 10 5-180-160-140-120-100-80-60-40-20 ± [rad/s] Phase [degrees] 12 10 2 10 3 10 4 10 5-40-35-30-25-20-15-10-5 Problem #44 Magnitude and Phase Response |H(j ± )| [dB] 10 2 10 3 10 4 10 5-100-80-60-40-20 20 40 60 80 100 ± [rad/s] Phase [degrees] 13...
View Full Document

{[ snackBarMessage ]}