Hey, Need some help on using PCA on matlab.

1 view (last 30 days)
So I'm in my masters thesis and I want to use PCA to understand and analyse a 3D movement (elevation angles of FOOT, SHANK and THIGH segments). I already have all the data (3variables'foot/shank/thigh' of 180 observations) but I just don't know how to get the 3 principal vectors. I tried some scripts but I dont really understand them and it doesnt seem to work. I have no matlab experience and they are no good tutorial that shows exemple of people using there data and getting the results.If anyone could help me out it would be nice :) Thank you.
  1 Comment
Jillian Beacon
Jillian Beacon on 6 Oct 2019
Did you ever find out how to do this? I am doing something similar in my Ph.D. and I am looking for help with PCA. Would you be willing to chat with me about it?

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 21 Jul 2018
Attached is an example of how to use PCA on a 3-D sample.
  6 Comments
Sim Will
Sim Will on 23 Jul 2018
Thank you for that :) But I'm still wondering how to get the first three eigenvectors and there eigenvalues so I can compare to other data. Ok I'm just going to tell you in general what I need to do for my thesis so you can tell me if im on the right path or completely doing the wrong things^^. I'm trying to see if there are any differences intra and inter 2xsubjects (specialized and non specialized). I did 10xtrials for both using vidcon motion capture and then I calculated elevation angles of thigh shank and foot rigid segments for each trials. First thing that I wanted to do is compare the 10 trials of the same subject to see if there was any differences or similarity (to see if good Reproducibility ---> I was thinking using PCA as it can show the vectors of the best fitting plane of the data or using a similarity index but then I would have to compare thigh-shank ; shank-foot and thigh-foot) Then my second objective is to compare specialist and non specialist movement and see the differences ( could be useful to know which part of the movement is significantly different ''to work on this motion especially''). I'm not good at all in statistics this is why I don't really know what to use and how to use. Thx for the help
Image Analyst
Image Analyst on 23 Jul 2018
Sounds reasonable. Since you're at a university you can get free statistical help. I suggest you enlist a statistics/math professor at your university to be an adviser, either on your committee or maybe just for a few consulting sessions. He or she will be better at stats than me.

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!