Question: Exersice 2 : MATLAB M - file Function Consider the following equation y ( t ) = y ( 0 ) 1 - 2 2

Exersice 2: MATLAB M-file Function
Consider the following equation
y(t)=y(0)1-22e-tsin(1-22t+)
(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,=22radsec,=3222=0y0=0.15m,=22radsec,=1222=4TF=95TC+32=0=10=200
 Exersice 2: MATLAB M-file Function Consider the following equation y(t)=y(0)1-22e-tsin(1-22t+) (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!