angle of a vector centered at a certain point
10 次查看(过去 30 天)
显示 更早的评论
I am trying to calulate the hip, knee, ankle joints angles as the image shows
The hip angle is the angle between the "iliac crest marker - hip joint marker" vector extension and the "hip joint marker - knee joint marker" vector. in other words, it draws an x-y plane centered at the hip joint marker and the "iliac crest marker - hip joint marker" vector is its positive y axis, and the hip angle is the angle between the "hip joint marker - knee joint marker" vector and the negative y axis
The knee angle is the angle between the "hip joint marker - knee joint marker" vector extension and the "knee joint marker - ankle joint marker" vector. in other words, it draws an x-y plane centered at the knee joint marker and the "hip joint marker - knee joint marker" vector is its positive y axis, and the knee angle is the angle between the "knee joint marker - ankle joint marker" vector and the negative y axis
the ankle angle is the angle between the "ankle joint marker - toe marker" the positive x axis of an x-y plane that is centered at the ankle joint marker and the "knee joint marker - ankle joint marker" vector is its postive y axis
2 个评论
James Tursa
2023-5-23
You need to tell us how you have your data points stored. As x-y pairs? In a 2D matrix?
回答(1 个)
James Tursa
2023-5-23
Once you have the vectors, you can calculate the angles between the vectors using the technique I posted here:
2 个评论
James Tursa
2023-5-24
编辑:James Tursa
2023-5-24
From your drawing, it looks like the hip and knee joint angles are exactly the angle between vectors, and the ankle joint angle is 90 degrees minus the angle between vectors. Why don't you think your drawn angles are based on the angles between the vectors you created? How else would you calculate these angles if not between the vectors along the lines in your drawing?
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!