plot3
显示 更早的评论
how do a plot3 of a wavelet tranform showing time, scale and wavelet coefficients
采纳的回答
更多回答(2 个)
Honglei Chen
2011-12-13
0 个投票
Hi Lisa,
I don't think plot3 is appropriate for your purpose. I think you probably better off using image or imagesc.
HTH
Wayne King
2011-12-13
Hi Lisa, If I remember correctly you are using your own CWT algorithm, not MATLAB's cwt() or cwtft(). Is that correct? Are you coefficients in a matrix scale-position? I think you want surf
load vonkoch
vonkoch=vonkoch(1:510);
len = length(vonkoch);
cw1 = cwt(vonkoch,1:32,'sym2','plot');
% cw1 is 32x510
surf(1:510,1:32,cw1); shading interp;
xlabel('Position'); ylabel('Scale'); zlabel('CWT Coefficients');
colormap jet;
view([-27 42]);
Keep in mind that if you are using a complex-valued analyzing wavelet, you will have to input the moduli (abs()), or the real or imaginary parts.
类别
在 帮助中心 和 File Exchange 中查找有关 Continuous Wavelet Transforms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!