MATLAB Answers

0

Plotting continuous wavelet in 3D

Asked by Giovanni on 30 Jun 2015
Latest activity Answered by Raghunandan V on 6 Jun 2019
Hello everybody,
I am working with wavelets since a very short time, and I have a very basic question that I am not able to figure out myselfs. In matlab the cwt command is computing the continuous wavelet transform of a sequence:
scales = (1:2^lev);
cwt(signal, scales, wname, 'plot');
when doing this, I get a nice 2D plot, but what if I would like to plot the typical 3D (time, scale, amplitude) plot of the wavelet transform? How can I obtain this?

  1 Comment

Hey,
I am also stuck up with the same problem. Could you get the solution to this after it? If yes, please help me.

Sign in to comment.

1 Answer

Answer by Raghunandan V on 6 Jun 2019

Hi,
I dont know about cwt command. My idea would be to store the values obtained from cwt command in to 2 variables and then use surf command to plot it in 3d by adding another variable.

  0 Comments

Sign in to comment.