{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

problem_03__rectifier_power_waveforms_ASSIGNMENT.m

problem_03__rectifier_power_waveforms_ASSIGNMENT.m - TITLE...

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

View Full Document Right Arrow Icon
TITLE = 'problem_03__rectifier_power_waveforms' NAME = 'Jeff Mayer' %========================================================================== % Construct and plot rectifier power waveforms. %========================================================================== %========================================================================== % 2006-09-10 JSM Created. % 2007-09-10 JSM Added calculation and plot of px. % 2013-08-30 JSM Added input data plot and annotations. % 2017-08-26 TDL Removed Pretty Plotting %========================================================================== %PP = pretty_plotting(12); %% Load time series data from file and parse into individual waveforms. load -ascii 'linear_supply_response.txt' t = transpose(linear_supply_response(:, 1)); vs = transpose(linear_supply_response(:, 2)); is = transpose(linear_supply_response(:, 3)); vd = transpose(linear_supply_response(:, 4)); id = transpose(linear_supply_response(:, 5)); %% Illustrate voltage and current waveforms (sanity check waveform data). figure(1) clf subplot(3,1,1) plot(t, vs, t, vd) grid ylabel('v_s, v_d (V)') subplot(3,1,2) plot(t, is) grid ylabel('i_s (A)') subplot(3,1,3) plot(t, id) grid ylabel('i_d (A)') xlabel('t (s)') %% Construct power waveforms. Vo = 12; % EE 413 Students: add code here. %% Extract some values of interest. Ts = t(end) - t(1); t_min = min(t); t_max = max(t); Vd = mean(vd); %% Illustrate power waveforms.
Background image of page 1

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

View Full Document Right Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}