calccwtpars.m

来自「由WAVELAB提供的计算连续小波变换,包括求小波脊的MATLAB程序工具箱.」· M 代码 · 共 28 行

M
28
字号
function [n,nscale,nvoice,noctave] = CalcCWTPars(sz)
% CalcCWTPars -- Calculate Underlying Parameters of CWT Structure
%  Usage
%    [n,nscale,nvoice,noctave] = CalcCWTPars(sz)
%  Inputs
%    sz        size of CWT array
%  Outputs
%    n         signal length
%    nscale    number of scales
%    nvoice    number of voices
%    noctave   number of octaves
%  

	n = sz(1); nscale = sz(2);
	noctave = floor(log2(n))-5;
	nvoice  = nscale ./ noctave;
	
    
    
  %%  Part of Wavelab Version 850%  Built Tue Jan  3 13:20:39 EST 2006%  This is Copyrighted Material%  For Copying permissions see COPYING.m%  Comments? e-mail wavelab@stat.stanford.edu 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?