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
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
2021년 12월 18일
Try conv2() instead of conv() if you have 2-D matrices instead of 1-D vectors.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Continuous Wavelet Transforms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!