Question: 6.7 Write a MATLAB script (M-file) that executes the Simulink simulation for the mechanical system in Problem 6.6 for input frequencies ranging from ? =

 6.7 Write a MATLAB script (M-file) that executes the Simulink simulation

6.7 Write a MATLAB script (M-file) that executes the Simulink simulation for the mechanical system in Problem 6.6 for input frequencies ranging from ? = 1 rad/s (0.16 Hz) to ? = 100 rad/s (15.92 Hz) in increments of 1 rad/s. Store the ratios of the output/input amplitudes but use only the last one-third of the simulation response data (the so-called steady-state response) for each input frequency [Hint: to do this, compute the ratioxend/xn by using the command max (x_end) /max (x_in) where x_end is the last one-third of the system response x(t)]. Plot the output/input amplitude ratio vs. input frequency, and based on your plot, summarize how the mechanical system's displacement response x(t) varies with input frequency o. This problem is an example of a system's frequency response, where the system input is a periodic function (such as a sinusoidal input function)

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!