Resampling vector to have homogeneous length between trials
1 次查看(过去 30 天)
显示 更早的评论
I analyze biomechanic of a jump. To begin I have cut my signal to conserve only the jump (when subject initiate jump until he land). For each jump condition, I have 5 trials with a sampling rate at 100Hz. I would like to average the 5 trials per direction and express them in a cycle movement (0 to 100% of jump). Nevertheless, these 5 trials don't have the same length. So, I tried to used the resample function but It creates some waves at the beginning and at the end of signal.
Do you have any idea to uniform the length of each trials ?
Thank you for your answers.
0 个评论
回答(1 个)
Jonas
2022-7-1
you can use the interp1() function to produce an equal number of samples per jump
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Biomechanics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!