convolution problem with real data

1 次查看(过去 30 天)
I have coding for wavelet edge
j = [1 2 3 4];
s = 2.^j;
teta = wdenoise(y_amp);
teta_f = (1./s).*teta.*(freq./s);
cwt = conv (teta_f, y_amp);
But i have problem with conv which my data is in real not vector. what should i do to fix it
  1 个评论
Walter Roberson
Walter Roberson 2021-12-18
I think you might be trying to say that teta_f is a 2D matrix?
That could happen if theta is a column vector, or a 2d array with as many columns as s has.

请先登录,再进行评论。

采纳的回答

Image Analyst
Image Analyst 2021-12-18
Try conv2() instead of conv() if you have 2-D matrices instead of 1-D vectors.

更多回答(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