EE_365_200708FA_homework_06_problem_02_solution

EE_365_200708FA_homework_06_problem_02_solution - 10/25/07...

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 10/25/07 12:09 PM 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 C:\Documents and Settings\Jeff Mayer\My Documen...\problem_02.m %: problem_02.m %========================================================================== % Homework 06 Problem 02 %========================================================================== %========================================================================== % 15-Oct-07 JSM Forked from electromagnet_ssc.m. %========================================================================== pretty_plotting_16 %========================================================================== %% Set system parameters r = Ll = k = ch = M = D = K = x0 = %========================================================================== %% Set operating parameters Vmin = Vmax = 5.827 F = %========================================================================== %% Construct curve npoints = V_vec = linspace(Vmin, Vmax, npoints) X_vec = zeros(size(V_vec)) for n = 1:npoints V = V_vec(n) [LA, X] ... = electromagnet_ss_operatingpoint(V, F, r, Ll, k, ch, M, D, K, x0) X_vec(n) = X end %========================================================================== %% Illustrate curve figure(1) clf 1 of 2 10/25/07 12:09 PM 53 54 55 56 57 58 59 60 61 62 63 64 65 C:\Documents and Settings\Jeff Mayer\My Documen...\problem_02.m handle = plot(V_vec, 1000*X_vec) set(handle, 'LineWidth', 1.5) xlabel('\itV\rm [V]', TextStyle{:}) ylabel('\itx\rm [mm]', YLabelStyle{:}) set(gca, AxisStyle{:}) grid %========================================================================== %% Export figure if false print_meta_file(1, 'problem_02', 6) end 2 of 2 ...
View Full Document

This note was uploaded on 10/08/2009 for the course EE 365 at Pennsylvania State University, University Park.

Page1 / 2

EE_365_200708FA_homework_06_problem_02_solution - 10/25/07...

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online