Write m.file using matlab to calculate body COG using segmental method B. anatom
ID: 2074358 • Letter: W
Question
Write m.file using matlab to calculate body COG using segmental method
B. anatomical position
C.right arm raised
D. both arm raised
E.both arm raised and flexed leg
For example:
Assignment 7. Write a matlab code to calculate the body COG using the provided anthropometry below from the proximal and distal ends of the segments. Your CoG is the calculated location of the COG of the body relative to the midpoint of the heel markers. Use the y coordinate from the marker data to determine the body COG height for each position You should turn in a copy of your code Table 2: Anthropometry Body Segment Proximal End Distal End Center of Mass Proportion Location from of Bodv Prox. DistalWeight End 562 567 433 433 End 438 433 567 567 1. Trunk 2. Head and NeckTop of head 3. R. Thigh 4. R. Shank 5. R. Foot 6. L. Thigh 7. L. Shank 8. L. Foot 9. R. Arm 10. R. Forearm 11. R. Hand 12. L. Arnm 13. L. Forearm 14. L. Hand Hi C7 Knee Ankle Heel Knee Ankle Heel Elbow Wrist Knuckle Elbow Wrist Knuckle 496 079 097 045 014 097 045 014 035 015 006 035 015 006 C7 Hi Knee Ankle Hi Knee Ankle Shoulder Elbow Wrist Shoulder Elbow Wrist 433 433 5 436 43 506 436 43 506 .567 567 5 .564 57 494 564 57 494 8. Compare the COG values computed from the segmental method to those derived using the reaction board method for each posture. How are they different and why? 9. The segment mass and COG values provided in the table are based on older male cadavers. How do you think a living male athlete's values would compare and why?Explanation / Answer
function fsum = getsum(x)
ln = size(x,2);
fsum=0;
for i = 1:ln
fsum = fsum + x(i);
end
end
function fprod = getprod(x)
ln = size(x,2);
fprod=1;
for i = 1:ln
fprod = fprod * x(i);
end
end
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.