how to make a vector shorter for dtw() in matlab

2 ビュー (過去 30 日間)
Kfir Weissman
Kfir Weissman 2021 年 7 月 17 日
コメント済み: Jonas 2021 年 7 月 17 日
hi, i would like to compare audio files using the dtw() function.
i read my audio files using the [y,Fs] = audioread() function.
but the problem is :
when i send my audio data vector, (y) to the dtw function : dist = dtw(y,y) for example,
i get error that my vector y is too big, when i try cutting the vector into part i dont get the result im waiting for, so, my question is :
how can i make my vector (y) shorter and get a good result from the dtw functuion?
  2 件のコメント
Yazan
Yazan 2021 年 7 月 17 日
Provide more information about your signal or better to upload it. To make a signal "shorter" is by resampling at a lower sampling rate, but keeping Nyquist law satisfied.
Jonas
Jonas 2021 年 7 月 17 日
maybe it already helps to take just one of the stereo channels if your audio was recorded in stereo

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeDescriptive Statistics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by