How do I apply a 5 level wavelet to an audio file?

1 次查看(过去 30 天)
Hello everyone,
I add a wavelet to the example in the link before the stft process. I want to unlock 5 levels. However, I am making such a mistake. How can I solve this?
len=length(audio);
[c,l]=wavedec(audio,5,'bior3.1');
approx = appcoef(c,5,'bior3.1');
[cd1,cd2,cd3,cd4,cd5] = detcoef(c,l,[1 2 3 4 5]);
  1 个评论
Biral Pradhan
Biral Pradhan 2022-6-20
I understand, you want to add a wavelet to the audio in this example. Could you kindly provide more information that can help me understand your workflow? Please include the error messages, if any.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Continuous Wavelet Transforms 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by