{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

ps2_soln

# ps2_soln - find tr limit search to 0< t< tp to find...

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

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

View Full Document

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

View Full Document

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

View Full Document

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

View Full Document

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

View Full Document
EE 428 Problem Set 2 Solutions -11- Problem 9: (part 1) function [tr, ts, Mp, tp, yss] = find_resp_char(y,t); % FIND_REP_CHAR time response characteristics of dynamic responses % EE 428 % Fall 2007 % Problem 9 Part 1 % assumes last point of y vector represents steady-state value yss = y(end); % find Mp (percent) and tp [Mp, tp_index] = max(y); Mp = 100*(Mp - yss)/yss; tp = t(tp_index);
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: % find tr; limit search to 0 < t < tp to find initial 10% to 90% rise in response tr_range_indices = find( (y >= 0.1*yss) & (y <= 0.9*yss) & ( t <= tp)); tr = max( t(tr_range_indices) ) - min( t(tr_range_indices) ); % find ts by flipping t and y yf = flipud(y); tf = flipud(t); ts_indices = find( (yf >= 1.01*yss) | (yf <= 0.99*yss) ); ts = tf ( min(ts_indices) );...
View Full 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