Question: Please help with answers and MATLAB code LAB05ex2.m is attached, thanks! 3. Fill in LABO5ex2.m to reproduce Fig. 2 and then answer the following questions.
Please help with answers and MATLAB code LAB05ex2.m is attached, thanks!



3. Fill in LABO5ex2.m to reproduce Fig. 2 and then answer the following questions. (a) For what minimal time t, will the mass-spring system satisfy y(0) t? You can answer the question either by magnifying the MATLAB figure using the magnify button or use the following MATLAB commands (explain); for i=1: length(y) M(i)-max(abs(y(i: end) )): end i - find (M t with num2str (t(i-1)) t1 t? You can answer the question either by magnifying the MATLAB figure using the magnify button or use the following MATLAB commands (explain); for i=1: length(y) M(i)-max(abs(y(i: end) )): end i - find (M t with num2str (t(i-1)) t1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
