![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1238107/image.png)
Single degree of freedom
6 views (last 30 days)
Show older comments
Hi, Can some one help me generate a code for a single degree of freedom system with a spring of stiffness k and damping coefficient c I saw that there is a GUI for a sdof. But i would like to have a simple code, without a GUI. Please let me know if someone can help me with this.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/153127/image.png)
0 Comments
Answers (1)
Steve Miller
on 21 Dec 2022
This example shows you how to model this system in two ways:
--Steve
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1238107/image.png)
0 Comments
See Also
Categories
Find more on Mechanical Models in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!