Make a pendulum that moves according to an equation of motion
이전 댓글 표시
I am trying to make a pendulum in Simulink/ SimMechanics that moves according to the equation of a damped, driven oscillator. I have been able to make the pendulum move but it oscillates for a little and dies down, just to start up again. I put a scope block in and the graph is just simply sinusoidal so I know the motion should not change like it is. I think the issue is that I am applying the force at the bottom of the pendulum (not the joint itself) and the joint is setup for motion under "automatically computed". When I change the joint so its motion is "provided by input" then I get an error that there are to many joints with manual inputs and I should try fixing it by adding joints with auto inputs. When I do that I get the same exact error. I am new to MATLAB so there is a good chance that this is a simple fix but I have no idea. Can someone please help? Thanks!
<<
<<

>>
>>
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Assembly에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

