![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/211157/image.png)
the simscape of mass-spring-damping system can't get the ideal result
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
dcydhb dcydhb
am 30 Mär. 2019
Bearbeitet: Stephan
am 1 Apr. 2019
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 Kommentare
Akzeptierte Antwort
Stephan
am 30 Mär. 2019
Bearbeitet: Stephan
am 30 Mär. 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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Troubleshooting finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!