![](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 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Stephan
2019-3-30
编辑:Stephan
2019-3-30
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Troubleshooting 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!