How to resample vectors of different length into the same length?
조회 수: 19 (최근 30일)
이전 댓글 표시
Hi,
I have vectors of different sizes (see attached). I need to resample them in a way that, they don't lose the characteristics when I plot them but they have more or less samples. How can I achieve that? Also should I resample to the biggest size out of the vectors or bring them all to the middle?
They will be used as a training data in a Sequential Neural Network.
댓글 수: 0
답변 (1개)
Matt J
2022년 8월 4일
How can I achieve that?
You can use interp1
Also should I resample to the biggest size out of the vectors or bring them all to the middle?
Only you can know that.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Multirate Signal Processing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!