26_freqgW12

# 26_freqgW12 - Page 1 of 3 Computer Shortcut freqg.p CHE 361...

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

Page 1 of 3 0.2 2 ( ) for the freqency range of from 0.01 to 10 rad/min 10 1 s e G s s ω = + ( ) ( ) ( ) s N s G s e D s θ = Computer Shortcut: freqg.p CHE 361 Task: Use the MATLAB "program" file freqg.p to determine the frequency response of: Then check the amplitude ratio and phase angle at 2 rad/min by "hand" using the shortcut method. To "run" the program, simply type >> freqg at the prompt in the MATLAB Command Window. Here's what you should see, with bold letters indicating what you enter: >> freqg |----------------------------------------------------| | MATLAB Program "freqg" | | Uses "shortcut" method to calculate frequency | | response of G(s) where G(s) has a polynomial | | numerator and denominator and a single time delay. | | Saves results freq,RePart,ImPart,AR,Phase in deg | | in columns in a file specified by the user. | | Example: 2s^2 + 0s + 1 = [2, 0, 1] | | Dr. K.L. Levien Nov. 12, 2003 | | Revisions: 11/8/04, 2/20/08, 2/15/12 | | Chemical Engineering, Oregon State University | |----------------------------------------------------| --------------------------------------------- Enter numerator coefficient vector: [2] Numerator Vector = [2] Enter denominator coefficient vector: [10, 1] Denominator Vector = [10, 1] Enter time delay: 0.2 Time Delay = 0.2 Enter minimum frequency, rad/time (0.01) =

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• 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.

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

• 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.

Dana University of Pennsylvania ‘17, Course Hero Intern

• 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.

Jill Tulane University ‘16, Course Hero Intern