Resampling vector to have homogeneous length between trials

조회 수: 1 (최근 30일)
Jeanne Dury
Jeanne Dury 2022년 7월 1일
답변: Jonas 2022년 7월 1일
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.

답변 (1개)

Jonas
Jonas 2022년 7월 1일
you can use the interp1() function to produce an equal number of samples per jump

카테고리

Help CenterFile Exchange에서 Biomechanics에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by