Info
この質問は閉じられています。 編集または回答するには再度開いてください。
How do I align the matrices of variable sizes using the Dynamic time warping algorithm?
3 ビュー (過去 30 日間)
古いコメントを表示
Hello there,
I have a problem where there are three matrices X,Y,Z of variable sizes and I would like to align them all to the same uniform size, however, making sure that the information is not lost from the data. While browsing I came across a method called Dynamic time warping, however, I couldn't do much with the available examples. Can someone help me with this, attached is the spreadsheet with data.
Thanks in advance.
0 件のコメント
回答 (1 件)
Juan Rivera
2018 年 8 月 19 日
編集済み: Walter Roberson
2018 年 8 月 19 日
Have you tried predetermining the size of the matrices before assigning values?
ex:
x = zeros(5); y = zeros(5); z = zeros(5);
x(:,1) = [1;1;1;1;1]; y(:,3) = [1;1;1;1;1]; z(:,5) = [1;1;1;1;1];
x, y, z
You can also insert null values to make matrices equivalent sizes.
1 件のコメント
この質問は閉じられています。
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!