How to resample vectors of different length into the same length?
5 次查看(过去 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!