problem_03__rectifier_power_waveforms_ASSIGNMENT.m

problem_03__rectifier_power_waveforms_ASSIGNMENT.m - TITLE...

Info icon This 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.
Image of page 1

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

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

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern