Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You are given a MATLAB dynamic system model of the mass, spring, damper system shown below. You need to calculate both its impulse and step
You are given a MATLAB dynamic system model of the mass, spring, damper system shown below. You need to calculate both its impulse and step response which means the system motion, when the force input, is an impulse in one case and a step in the other.
There are many ways to do this, but here you should: make a time array, t call impulse and step commands where you provide both the dynamic system object named mySys and t and plot the results.
In the template code you are shown how to do this for the impulse command. All you need to do is modify the line to use the step command with the same syntax. Be sure to name your step response variable xStp I would suggest you review the help documentation on the step command in your local MATLAB, eg
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started