MATLAB Answers

WellsJ
0

Turning x amount of data points in to 100 to get a percentage

Asked by WellsJ
on 5 Sep 2017
Latest activity Answered by José-Luis
on 5 Sep 2017
Hi,
I have a row vector containing 120 data points. How would I convert that data in to 100. I am working on gait cycles and would like to analyse the knee angles at a certain percentage of the cycle. This is what I was attempting to use but that just seems to ignore any data points past the 100th value.
y = linspace(1,100,100); Gait_Cycle_Percent =interp1(x,y) where x is the raw 120x1 data.
Thank you

  0 Comments

Sign in to comment.

1 Answer

Answer by José-Luis
on 5 Sep 2017
 Accepted Answer

If you have the signal processing toolbox:

  0 Comments

Sign in to comment.