Question: Exercise # 2 . MatLab M - File Function Consider the following equation y ( t ) = y 0 1 - 2 e -

Exercise #2. MatLab M-File Function
Consider the following equation
y(t)=y01-2e-(n)tsin(n1-22**t+)
a) Write a MATLAB M-file function to obtain numerical values of y(t). Your function must take y(0),,n,t and as function inputs and y(t) as output argument.
b) Write a second script m-file to obtain the plot for y(t) for y0=0.15m,n=?2radsec,=12?2=00 with an increment of0.1,by considering the following two cases
Case 2: y0=0.15m,n=?2radsec,=12?2 and =0;
 Exercise #2. MatLab M-File Function Consider the following equation y(t)=y01-2e-(n)tsin(n1-22**t+) a)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!