-1
$\begingroup$

I am new in DSP.I have the flowing code

t = linspace(0,1,1000);
x = cos(2*pi*60*t);
CWTcoeffs = cwt(x,1:64,'sym8','plot'); 
colormap jet;

and my output is:enter image description here

their have scale in y axis but i represent in frequency what is the solution in matlab

$\endgroup$

1 Answer 1

2
$\begingroup$

I think you should try MATLAB's scal2frq. You provide the vector of scales, wavelet name and optionally sampling period. This will return vector of pseudo frequencies.

In your case that should be something like:

f = scal2frq(1:64, 'sym8', t(1)-t(0));
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.