{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

ps5_soln_08

# ps5_soln_08 - EE 350 Problem 28 Problem Set 5 Solutions-11...

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

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

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

View Full Document
EE 350 Problem Set 5 Solutions -11- Problem 28:

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

View Full Document
EE 350 Problem Set 5 Solutions -12- Problem 28: % EE 350 Fall 2008; % Problem Set 5 Problem 28 close all; clear % measured resistances R1000 = 985; RL = 42.0; R240 = 236; % RL circuit data freq_RL_exp = [15,30,50,90,150,200,300,400,500,700,900,1200,1500]; f_RL_exp = [1.91,1.91,1.91,1.92,1.94,1.94,1.97,1.97,1.97,1.97,1.97,1.97,1.97]; y_RL_exp = [1.83,1.80,1.75,1.61,1.36,1.19,0.906,0.706,0.581,0.425,0.334,0.250,0.200]; p_RL_exp = [-3.6,-11.9,-18,-29.2,-43,-51.8,-62.5,-69.1,-72,-78,-81.1,-83.7,-84.3]; % RLC circuit data freq_RLC_exp = [10,30,50,60,70,80,90,100,110,120,300,1000]; f_RLC_exp = [1.98,1.953,1.88,1.80,1.72,1.72,1.77,1.81,1.86,1.89,1.97,1.97]; y_RLC_exp = [2,2.22,2.64,2.83,2.81,2.5,2.03,1.63,1.30,1.06,0.141,0.0133]; p_RLC_exp = [-5.4,-16.7,-36,-53,-75.8,-97.9,-116,-130,-136,-142,-159,-167]; %estimate P(jw) and Q(jw) for both systems; normalize so that an = 1 mag_H_RL_exp = y_RL_exp ./ f_RL_exp; H_RL_exp = mag_H_RL_exp .* exp(j * p_RL_exp * pi/180 ); m_RL = 0; n_RL = 1; [P_RL_est, Q_RL_est] = invfreqs(H_RL_exp,2*pi*freq_RL_exp,m_RL,n_RL); P_RL_est = P_RL_est/Q_RL_est(1); Q_RL_est = Q_RL_est/Q_RL_est(1); mag_H_RLC_exp = y_RLC_exp ./ f_RLC_exp; H_RLC_exp = mag_H_RLC_exp .* exp(j * p_RLC_exp * pi/180 ); m_RLC = 0; n_RLC = 2; [P_RLC_est, Q_RLC_est] = invfreqs(H_RLC_exp,2*pi*freq_RLC_exp,m_RLC,n_RLC); P_RLC_est = P_RLC_est/Q_RLC_est(1); Q_RLC_est = Q_RLC_est/Q_RLC_est(1); % construct mag and phase using estimated P and Q polynomials f = logspace(0,4); w = 2*pi*f; [mag_H_RL_est, p_RL_est]
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 19

ps5_soln_08 - EE 350 Problem 28 Problem Set 5 Solutions-11...

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

View Full Document
Ask a homework question - tutors are online