⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 advance_scaling_filter.m

📁 时间序列分析中很用的源码,书的原名为时间序列分析的小波方法.
💻 M
字号:
function nuGj = advance_scaling_filter(wtfname, j)% advance_scaling_filter -- Calculate the value to advance scaling filter at jth level for a given wavelet.%%****f* wmtsa.dwt/advance_scaling_filter%% NAME%   advance_scaling_filter -- Calculate the value to advance scaling filter at jth level for a given wavelet.%% SYNOPSIS%   nuGj = advance_scaling_filter(wtfname, level)%% INPUTS%   wtfname      = string containing name of WMTSA-supported wavelet filter.%   j            = jth level (index) of scale or a range of j levels of scales%                  (integer or vector of integers).%% OUTPUTS%   nuGj         = advance of scaling filter at specified levels.%% SIDE EFFECTS%   wavelet is a WMTSA-supported scaling filter; otherwise error.%% DESCRIPTION%%% EXAMPLE%%% ALGORITHM%   nuGj = (2^j - 1) * nu%%   For details, see equation 114a of WMTSA.%% REFERENCES%   Percival, D. B. and A. T. Walden (2000) Wavelet Methods for%     Time Series Analysis. Cambridge: Cambridge University Press.%% SEE ALSO%   advance_time_series_filter, dwt_filter%% AUTHOR%   Charlie Cornish%% CREATION DATE%   2003-05-08%% COPYRIGHT%%% REVISION%   $Revision: 612 $%%***% $Id: advance_scaling_filter.m 612 2005-10-28 21:42:24Z ccornish $usage_str = ['Usage:  nuGj = ', mfilename, ...             ' (wtfname, j)'];  %%  Check input arguments and set defaults.error(nargerr(mfilename, nargin, [2:2], nargout, [0:1], 1, usage_str, 'struct'));% Check for valid wavelet and get wavelet filter coefficientstry  wtf_s = dwt_filter(wtfname);catch  rethrow(lasterror);endh = wtf_s.h;g = wtf_s.g;L = wtf_s.L;  error(argterr(mfilename, j, 'int0', [], 1, '', 'struct'));nuGj = NaN;switch lower(wtfname) case 'haar'  nuGj = advance_wavelet_filter('haar', j); otherwise    nu = advance_time_series_filter(wtfname);  nuGj = (2.^j - 1) * nu;endreturn

⌨️ 快捷键说明

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