请教关于小波变换三维图的问题?
在论坛里搜了一下,有程序:SampFreq = 30;
t=0:1/SampFreq:4;
sig = sin(12*pi*t);
sig(1:end/2) = sig(1:end/2) + sin(6*pi*t(1:end/2));
sig(end/2+1:end) = sig(end/2+1:end) + sin(18*pi*t(end/2+1:end));
WinLen = 10;
= CWT_Morlet(sig,WinLen,512);
FreqBins = FreqBins * SampFreq;
clf
set(gcf,'Position',);
set(gcf,'Color','w');
pcolor(t,FreqBins,abs(WT));
colormap jet;
shading interp;
axis();
colorbar;
ylabel('Frequency / Hz');
xlabel('Time / sec');
但是到 = CWT_Morlet(sig,WinLen,512);时matlab提示出错:
??? Undefined function or variable 'CWT_Morlet'.
请问这是为什么呢?是因为没有某些.m文件?还是这个函数在视频工具箱里?劳烦高手解答
??? Undefined function or variable 'CWT_Morlet'.
Ref: 3F, 常见的程序出错问题整理http://forum.vibunion.com/thread-46001-1-1.html
From http://home.vibunion.com/blog-63979-18250.html
多谢chaching老师 谢谢,很有帮助,看看
页:
[1]