Hi i am modeling this mehanical system and i dont know if that is correct. If it is how to draw the block diagram on paper and simulatic scheme in Simulink?
If and , then from the correct free body diagram of the two masses, the sum of forces can be written as follow:
,
.
Combining the kinematics and these two equations of motion into a single matrix equation yields
From here, you should be able to rewrite the matrix equation into the state-space model with A, B, C, D matrices. In Simulink, you can implement the linear state-space system using the state-space block.
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.