Question: I have a small matlab assignment I have to do, but I am having trouble with the prelab assignment and storing my variables. If I
I have a small matlab assignment I have to do, but I am having trouble with the prelab assignment and storing my variables. If I could have help with the pre-lab and excersise 1 and 2 that would very much appreicated! Also any explanation with the code would be great as I am very new to matlab.



Pre-lab (2 Points): In your previous lab, you obtained the solution to the equation: When u(t) is a constant = uo and y (at t-0) given as the equation shown below: In this lab, we will use the same equations to model 2 different physical systems. For your prelab exercise, please perform the following tasks: 1. Write a function named GetSvstemChar.m with the following definition: function [SS,t] GetSystemChar K, tau , u0,y0 ,a) = represents the ratio (Change in your output variable y at Assume that the value some time 't*") : (Steady state change in the output variable) i.e.: y(t = t*)-y(t = 0) y(t*)-Yo Your function should return as its output, the steady state value of 'y' for the system Also, it should calculate and return the time (t*) at which the change in output reaches a fraction 'a' of the steady state change when K, t, uo, yo and a, are given as inputs. (Hint: Solve Eq. 2 for 't' when y-y(t*). You should get an expression for t in terms of 'a', K, , uo, yo. Your final solution will be
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
