![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/211157/image.png)
the simscape of mass-spring-damping system can't get the ideal result
2 views (last 30 days)
Show older comments
in the simscape,the mass-spring-damping system,
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/211135/image.png)
i set the signal builder build the force as this,
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/211136/image.png)
and in the motion sensor,the initial position is 5,so the
The displacement and velocity should be attenuated, but why would you get such a result?
Mass spring damping is international unit 1
and the figure 3 is position and the figure 4 is the velocity
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/211137/image.png)
![4.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/211141/4.png)
0 Comments
Accepted Answer
Stephan
on 30 Mar 2019
Edited: Stephan
on 30 Mar 2019
Hi,
did you notice that you can accept and/or vote for useful answers? You have a asked a bunch of questions ang got some answers. Accept them, if they helped you. It is the contributers reward here.
Regarding your question:
you should set an initial value for the spring also. The initial state of the system will have no energy in it, so nothing happens. If you set an initial value of 5 to the spring also, things change (scroll to the right):
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/211157/image.png)
Best regards
Stephan
10 Comments
More Answers (0)
See Also
Categories
Find more on Troubleshooting in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!