convolution problem with real data

3 Ansichten (letzte 30 Tage)
nur syafiqah
nur syafiqah am 18 Dez. 2021
Beantwortet: Image Analyst am 18 Dez. 2021
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 Kommentar
Walter Roberson
Walter Roberson am 18 Dez. 2021
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.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Continuous Wavelet Transforms finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by