MATLAB: How to get the bode diagram between the velocity (input) and the force (output) on the damp in simMechanics

Simscape

I know that I have to linearize it, but I don´t know how to enter a perturbation in the velocity after the damp.
If someone know, I would appreciate it.

Best Answer

In this example, simply place an open-loop input at the input 'f' to the 'Cart and Double Pendulum' plant (right click the signal -> Linear Analysis Points -> Open-loop Input) and place an Open-loop output at each of the output signals of the plant (right click the signal -> Linear Analysis Points -> Open-loop Output).
Then open the Linear Analysis Tool (Analysis -> Control Design -> Linear Analysis) and select the bode plot to generate the linear system and create a set of bode plots from the inputs to outputs.
See this example for a quick tutorial on how to use Simulink Control design.