Creating Dataset of varying length Signals

1 回表示 (過去 30 日間)
Denis Muhra
Denis Muhra 2021 年 3 月 19 日
回答済み: Raghava S N 2024 年 2 月 28 日
Hi,
i want to classifiy time series of varying length to classify drivers of a bike by the Torque. I was planning on dividing the signal in lengths of lets say 5 rotations, so the length of the time series sequence would vary by the velocity of rotation. Is it possible to fit these Sequences of varying length into one Matrix to compute the Signal Features of them, because the number of Features would stay the same over the number of Signals? Or do you have any other recommendations regarding the structure of the Dataset?
Thanks in Advance

回答 (1 件)

Raghava S N
Raghava S N 2024 年 2 月 28 日
Hi Denis,
The topic of classifying time series data of varying lengths was touched upon in another MATLAB Answer. It is suggested in the accepted answer to use linear interpolation on the different series to transform them into series with same lengths. To accomplish this, the “interp1” function can be used - https://www.mathworks.com/help/matlab/ref/interp1.html.
You can find the link to the accepted answer discussing the similar issue here - https://www.mathworks.com/matlabcentral/answers/642640-variable-length-time-series.
Thanks
Raghava

カテゴリ

Help Center および File ExchangeStatistics and Machine Learning Toolbox についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by