Normalize different size arrays to all be 100 points long with resample
Show older comments
I am trying to normalize gait data to the gait cycle for a bunch of subjects. Each subject has a different length gait cycle. For example, if one subject has 115 data points over the gait cycle, another has 150. All data is collected at the same frequency. I would like to normalize the data so I have 100 points over the gait cycle for every subject. This is done for 50 subjects, so I would like to be able to normalize without inputting how long the current data set is. I was trying to play around with the resample function but can't figure out how to get the parameters correct. Advice?
Accepted Answer
More Answers (0)
Categories
Find more on Multirate Signal Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!