How limit my pendulum model angle from -pi to pi ?
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi
I have a pendulum model that i imported from Solidworks to Simulink
I want to limit the output angle to be -pi < theta < +pi
what i need to do ?
tnx! :)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/820700/image.png)
댓글 수: 0
답변 (1개)
Thomas Feja
2021년 12월 17일
If you want to model a pendulum that moves freely in the range -pi < theta < +pi but bounces back at these limits, you can define lower and upper limits within the Revolute Joint block. The limits will then be modelled as spring-damper elements.
This option is also available in other joint blocks.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Assembly에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!