Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CREATE MATLAB SCRIPT PLS ASAP WILL RATE A system's step response is PICTURE LOOK CAREFULLY STEPS ARE BELOW FOR MAT LAB Part 1 : Step

CREATE MATLAB SCRIPT PLS ASAP WILL RATE A system's step response is PICTURE LOOK CAREFULLY STEPS ARE BELOW FOR MAT LAB Part 1: Step response and transfer function
1a) Use the symbolic math toolbox to express the step response and assign to variable y.
1b) Plot the step response. The plot command cannot be used since y is a symbolic variable, but fplot can plot a function or expression.
1c) Use the symbolic laplace function to find the Laplace transform of y(t) and assign the result to variable Y.
1d) Use the symbolic simplifyFraction function to merge the partial fractions into a single saved in variable Ys.
1e) Find the system transfer function . Assign the result to variable H.
Part 2: Finding the system's response to a cosine input, using the transfer function
2a) Find the system's response to the input . The Laplace transform of should be saved in variable X2.
The Laplace transformed output is Y2.
because .
2b) Find the output in time domain using the ilaplace function, saved as y2.
2c) Plot the output y2 using fplot
2d) What is the maximum value of y2? Save the value to the variable y2Max.
Note: the max() function cannot be used on y2 directly, without converting the symbolic y2 to remove the variable t. But double(max(subs(y2, t, T)))
does the conversion. subs() substitutes the numbers in vector T for the symbolic t and evaluates y2 to a vector of symbolic expressions. Then max() finds the symbolic max value, and double() evaluates the expression to a number. T can be 0 to 10 seconds with a time step of 0.05 seconds.
2e) What is the period of y2? The period can be found either by calculation or by inspecting the plot. Call the value y2Period. HINTS ARE IN GREEN PLS HELP
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Describe the place of consciousness in psychologys history.

Answered: 1 week ago