{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Pre_Lab_15_joshdean_ECE_3220_PRELAB_15_Joshua_Dean

Pre_Lab_15_joshdean_ECE_3220_PRELAB_15_Joshua_Dean - zz...

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

View Full Document Right Arrow Icon
Joshua Dean ECE 3220 PRELAB 15 2-28-2011 100/100 3.1 Symbolic Variables syms v t A omega phi %definition of symbolic variable v=A*cos(omega*t+phi) %definition of symbolic equation 3.2 Symbolic Integrals and Derivatives Shows how MATLAB can integrate and differentiate syms t A omega phi xt = int(A*tˆ3 + pi, t) xt = (A*t^4)/4 + pi*t yt = diff(A*cos(omega*t + phi), t) yt = -A*omega*sin(phi + omega*t) zz = int(A*cos(omega*t + phi), t, 0, 1/omega)
Image of page 1

Info icon This 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.

Unformatted text preview: zz = (A*(sin(phi + 1) - sin(phi)))/omega zsimp = simple(zz) zsimp = (A*(sin(phi + 1) - sin(phi)))/omega 3.3 Substituting Variables v1 = subs(v, {A,omega,phi}, {100,120*pi,0}) v1 = 100*cos(120*pi*t) tn = (0:0.01:1)/60; v1n = double( subs(v1,t,tn) ); %-- convert to numeric Joshua Dean ECE 3220 PRELAB 15 2-28-2011 plot(tn, v1n) Plot Figure 1 ezplot(v1, [0,1/60]) EZPLOT Figure 2...
View Full 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