Need Code for Kinematics

I need the code for the following Kinematics equation
" Velocity
VB= AA + ( AB x r AB )
VC = VB + ( ω BC x r BC )
Accelaration
AB = AA +( ( AB X AB x r AB )) + ( α AB x rAB)
AC = AB + ( ( BC X ( BC x r BC )) + ( α BC x r BC )
r AB = AB( sin θ i + cos θ j )
r BC = BC( sin α i + cos α j )
User need to input:
Distance: AB and BC
Angle: α and θ
k value = AB and α AB"
Need user ask to input

Answers (1)

Udit06
Udit06 on 28 Sep 2024
Hi Nandeeswaran,
It seems you are facing some difficulty in writing code for a kinematics equation. It would be better if you can point out in which step you are facing problem to get support from this forum. You can refer to the following MathWorks documentations for the key steps involved in the equation:

3 Comments

I create the following code but the output is different from mt hand calculations. I am not sure where i made error. Thanks
Thanks for your reply sir
Hello Udit,
Thank you so much taking your time to write code for me.,really I will appreciate .This code so usefule to me.
Sincerely
Nandeeswaran

Sign in to comment.

Categories

Find more on Simscape Multibody in Help Center and File Exchange

Asked:

on 28 Sep 2024

Commented:

on 30 Sep 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!