亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? plot_equivalent_filter.m

?? 時間序列分析中很用的源碼,書的原名為時間序列分析的小波方法.
?? M
字號:
function [haxes, hlines_filter, hlines_acw, hlines_xaxis] = ...    plot_equivalent_filter(transform, wavelet, J, ...                           LineSpec, title_str, ...                           axesProp, level_range, plotOpts)% plot_equivalent_filter -- Plot equivalent wavelet filters for J levels.%%****f* wmtsa.dwt/plot_equivalent_filter%% NAME%   plot_equivalent_filter -- Plot equivalent wavelet filters for J levels.%% SYNOPSIS%   [haxes, hlines_filter, hlines_acw, hlines_xaxis] = ...%     plot_equivalent_filter(transform, wavelet, J, ...%                            [LineSpec], [title_str], ...%                            [axesProp], [level_range], [plotOpts])%% INPUTS%   transform    = name of wavelet transform (character string, case-insensitve)%   wavelet      = name of wavelet filter (character string, case-insensitve)%   J            = number of levels (integer > 0)%   LineSpec     = (optional) line specification for plotting.%   figtitle_str = (optional) title of figure (character string)%   axesProp     = (optional) axes properties to override (struct)%   level_range  = (optional) subset of levels (j's) to plot (numeric range)%   plotOpts     = (optional) additional plotting options (struct)%% OUTPUTS%   haxes        = handles of axes drawn (vector)%   hlines_filter = handles of lines drawn for equivalent filters (vector)%   hlines_xaxis = handles to lines drawn for xaxis (vector)%   hlines_acw   = handles of lines drawn for autocorrelation widths (vector)%% SIDE EFFECTS%   1. transform is a valid transform; otherwise error.%   2. wavelet is a valid wavelet filter; otherwise error.%   3. J > 0; otherwise error.%% DESCRIPTION%   plot_equivalent_filter plots the equivalent wavelet and scaling filter%   coefficients for the specified wavelet filter, number of levels and%   wavelet transform.  The x-axis can be scaled to relative or absolute values%   of width of equivalent filter ( L_j). and while the y-axis can be%   scaled local or overall coefficent magnitudes using the the plotOpts argument.%%   axesProp argument applies all subplot axes and can be used to override%   behaviour specified by the plotOpts argument.  Note: Each subplot is%   has the 'Tag' property set to h or g + level number and can be identified%   for call back to a particular subplot.%   %   Use level_range to display partial range of levels or reverse order of%   levels, e.g., level_range = [10:-1:5];%%   Plotting options are controlled by setting fields in plotOpts structure %   argument as follows:%      PlotgJ = plot scaling equivalent filter.  Default = 1 (yes).%      PlothJ = plot wavelet equivalent filter.  Default = 1 (yes).%      DrawXAxis = draw a line reprsenting x-axis at y = 0. Default = 1 (yes).%      DrawYTick = draw and label Y-Axis tick marks. Default = 0 (no).%      NormalizeXAxisToLj = set the limits of the X-Axis to relative scale of Lj%         at jth leve.  Default = 1 (yes).  If = 0, X-axis limits for all scales%         is set to the absolute scale of the equivalent width at Jth scale and %         equivalent filters at all scales are shifted to properly align.%      NormalizeYAxisToAbs = set limits of Y-axis to absolute limits.%         The default = 0 (no)) plots each equivalent filter normalized to%         its min and max.  If set to 1 (yes), plot all equivalent filter to%         the absolute min and max value of all equivalent filters.%      PlotAutocorrelationWidth = plot the autocorrelation width of the %         equivalent filter.  Default = 0 (no)%      EqualYAxisYLim = Plot Yaxis with equal - and + magnitued, ie.%                     = Set abs(YMin) = abs(YMax) %                     = max(abs(YMin), abs(YMax)). Default = 1 (yes)%      PadXAxis = Extend x-axis limits by PadXAxis %  on each end%                 Default = 0 (no)%      PadYAxis = Extend y-axis limits by PadYAxis % on each end%                 Default = 0 (no)%      Stairs   = Plot filter as starirs. Default = 0, (no).%% EXAMPLE%   plot_equivalent_filter('modwt', 'la8', 6, '', 1:4);%% REFERENCES%   See figures 98a and 98b of WMTSA.%% SEE ALSO%   dwt_equivalent_filter, modwt_equivalent_filter, LineSpec%% AUTHOR%   Charlie Cornish%% CREATION DATE%   2004-02-12%% COPYRIGHT%%% CREDITS%%% REVISION%   $Revision: 612 $%%***%   $Id: plot_equivalent_filter.m 612 2005-10-28 21:42:24Z ccornish $  default_plotOpts.PlothJ = 1;  default_plotOpts.PlotgJ = 1;  default_plotOpts.DrawXAxis = 1;  default_plotOpts.DrawYTick = 0;  default_plotOpts.NormalizeXAxisToLj = 1;  default_plotOpts.NormalizeYAxisToAbs = 0;  default_plotOpts.PlotAutoCorrelationWidth = 1;  default_plotOpts.EqualYAxisYLim = 1;  default_plotOpts.PadXAxis = 0;  default_plotOpts.PadYAxis = 0;  default_plotOpts.Stairs = 0;  %default_plotOpts.PadXAxis = .25;  %default_plotOpts.PadYAxis = .25;  %default_plotOpts.Stairs = 1;      usage_str = ['Usage:  [haxes, hlines_filter, hlines_xaxis, hlines_acw] = ', ...               mfilename, ...               '(transform, wavelet, J, ', ...               '[LineSpec], [figtitle_str], ', ...               '[axesProp], [level_range], [plotOpts]])'];  %%  Check input arguments and set defaults.  error(nargerr(mfilename, nargin, [3:8], nargout, [0:4], 1, usage_str, 'struct'));      switch upper(transform)   case 'DWT'    [hJ, gJ, LJ] = dwt_equivalent_filter(wavelet, J);   case 'MODWT'    [hJ, gJ, LJ] = modwt_equivalent_filter(wavelet, J);   otherwise    error(['Unknown transform specified (', transform, ')']);  end    if (~exist('LineSpec', 'var') || isempty(LineSpec))    LineSpec = 'r-';  else    % Check type    try      argterr(mfilename, LineSpec, 'char');    catch      error('Invalid type for argument');    end  end    if (~exist('level_range', 'var') || isempty(level_range))    level_range = 1:J;  end    if (~exist('plotOpts', 'var') || isempty(plotOpts))    plotOpts = default_plotOpts;  else    fields = fieldnames(default_plotOpts);    for (i = 1:length(fields))      field = fields{i};      if (isfield(plotOpts, field))        % Do nothing      else        plotOpts.(field) = default_plotOpts.(field);      end    end  end      ncol = 2;  nrow = length(level_range);    ha_list = [];  hl_filter_list = [];  hl_xaxis_list = [];  hl_acw_list = [];      if (~plotOpts.NormalizeXAxisToLj)    J0 = max(level_range);    LJ_max = LJ{J0};  else    LJ_max = 0;  end    if (plotOpts.NormalizeYAxisToAbs)    gJ_max = max(gJ{1});    gJ_min = min(gJ{1});    hJ_max = max(hJ{1});    hJ_min = min(hJ{1});    for (j = 2:length(LJ))      gJ_max = max(gJ_max, max(gJ{j}));      gJ_min = min(gJ_min, min(gJ{j}));      hJ_max = max(hJ_max, max(hJ{j}));      hJ_min = min(hJ_min, min(hJ{j}));    end    J_max = max(gJ_max, hJ_max);    J_min = min(gJ_min, hJ_min);    J_min = J_min - 0.1 * abs(J_min);    J_max = J_max + 0.1 * abs(J_max);  end    irow = 0;  iplot = 0;    for (j = level_range)      irow = irow + 1;    icol = 1;        if (plotOpts.NormalizeXAxisToLj)      XLim = [-1,LJ{j}+1];      x = [1:1:LJ{j}];      XLim = [0,LJ{j}-1];      x = [0:1:LJ{j}-1];    else      XLim = [0, LJ_max];  %    x = [1:1:LJ_max];      x = [1:1:LJ{j}];    end        if (plotOpts.PadXAxis)      xlen = XLim(2) - XLim(1);      XLim(1) = XLim(1) - xlen * plotOpts.PadXAxis;      XLim(2) = XLim(2) + xlen * plotOpts.PadXAxis;      if (XLim(1) < 0)        XLim(1) = 0;      end    end        g_j = gJ{j};    h_j = hJ{j};          if (plotOpts.NormalizeYAxisToAbs)      YLim = [J_min, J_max];    else      ymin = min(min(g_j), min(h_j));      ymax = max(max(g_j), max(h_j));      YLim = [ymin - 0.1 * abs(ymin), ...              ymax + 0.1 * abs(ymax)];    end        if (plotOpts.EqualYAxisYLim)      ymax_abs = max(abs(YLim));      YLim = [-ymax_abs, +ymax_abs];    end        if (plotOpts.PadYAxis)      ylen = YLim(2) - YLim(1);      YLim(1) = YLim(1) - ylen * plotOpts.PadYAxis;      YLim(2) = YLim(2) + ylen * plotOpts.PadYAxis;    end      if (plotOpts.PlotgJ)      iplot = iplot + 1;      ha = subplot(nrow, ncol, iplot);      set(ha, 'Tag', ['g', int2str(j)]);      ha_list = [ha_list, gca];        [hl_filter, hl_xaxis, hl_acw] = ...          plot_equivalent_filter_j(x, g_j, wavelet, j, irow, nrow, ...                                   XLim, YLim, LJ{j}, LJ_max, ...                                   LineSpec, plotOpts);            hl_filter_list = [hl_filter_list, hl_filter];      hl_xaxis_list = [hl_xaxis_list, hl_xaxis];      hl_acw_list = [hl_acw_list, hl_acw];        ylabel(['\it{j} = ', num2str(j)], ...             'Rotation', 0, ...             'HorizontalAlignment', 'Right', ...             'VerticalAlignment', 'Middle');        if (irow == 1)        title({'Scaling', '\it{g_{j,l}}'});      end                end      if (plotOpts.PlothJ)      iplot = iplot + 1;      ha = subplot(nrow, ncol, iplot);      set(ha, 'Tag', ['h', int2str(j)]);      ha_list = [ha_list, gca];            [hl_filter, hl_xaxis, hl_acw] = ...          plot_equivalent_filter_j(x, h_j, wavelet, j, irow, nrow, ...                                   XLim, YLim, LJ{j}, LJ_max, ...                                   LineSpec, plotOpts);      hl_filter_list = [hl_filter_list, hl_filter];      hl_xaxis_list = [hl_xaxis_list, hl_xaxis];      hl_acw_list = [hl_acw_list, hl_acw];        set(gca, 'YAxisLocation', 'right');      ylabel_str = {['L_j = ', num2str(LJ{j})]};      if (plotOpts.PlotAutoCorrelationWidth)         [width_a] = filter_autocorrelation_width(wavelet, j);        ylabel_str = [ylabel_str, {['w_{a,j} = ', num2str(width_a)]}];      end      ylabel(ylabel_str, ...             'Rotation', 0, ...             'HorizontalAlignment', 'Left', ...             'VerticalAlignment', 'Middle');        if (irow == 1)        title({'Wavelet', '\it{h_{j,l}}'});      end        end    end    if (~plotOpts.DrawYTick)    set(ha_list, 'YTick', []);    set(ha_list, 'YTickLabel', []);  end    if (exist('axesProp', 'var') && ~isempty(axesProp))    set_axes_prop(ha_list, axesProp);  end    if (~exist('figtitle_str', 'var'))    figtitle_str = {[upper(wavelet)], 'Equivalent Filters'};  end    if (~isempty(figtitle_str))    suptitle(figtitle_str);  end      if (nargout > 0)    haxes = ha_list;  end    if (nargout > 1)    hlines_filter = hl_filter_list;  end    if (nargout > 2)    hlines_acw = hl_acw_list;  end    if (nargout > 3)    hlines_xaxis = hl_xaxis_list;  endreturnfunction [hl_filter, hl_xaxis, hl_acw] = ...      plot_equivalent_filter_j(x, g_j, wavelet, j, irow, nrow, ...                               XLim, YLim, L_j, LJ_max, ...                               LineSpec, plotOpts)% Plot equivalent filter at jth level.    if (plotOpts.NormalizeXAxisToLj)      offset = -1;      xx = x;    else      offset = (LJ_max - L_j) / 2;      xx = x + offset;    end    hl_xaxis = [];    if (plotOpts.DrawXAxis)      hl_xaxis = plot([XLim(1), XLim(end)], [0,0], 'k');      set(hl_xaxis, 'Tag', 'XAxis');      hold on;    end    if (plotOpts.Stairs)      xxx = [xx(1)-1, xx, xx(end)+1];      gg_j = [0; g_j(:)];      gg_j = [gg_j; 0];      hl_filter = stairs(xxx, gg_j, LineSpec);      hold on;    else      hl_filter = plot(xx, g_j, LineSpec);      hold on;    end    set(hl_filter, 'Tag', 'Filter');    set(gca, 'XLim', XLim);    set(gca, 'YLim', YLim);        hl_acw = [];    if (plotOpts.PlotAutoCorrelationWidth)      [width_a] = filter_autocorrelation_width(wavelet, j);            if(strcmpi(wavelet, 'ccc'))        x_acw = [x(1), x(end)+1] + offset;      else        coe = filter_center_of_energy(g_j);%        filter_center = x(round(length(x)/2)) + 1;%        x_acw = [filter_center - width_a / 2 , filter_center + width_a / 2] + ...%                offset;         x_acw = [coe - width_a / 2, coe + width_a / 2] + offset;         x_acw = floor(x_acw + .5);      end            YLim = get(gca, 'YLim');      g_j_min = min(g_j);%      if (plotOpts.NormalizeYAxisToAbs)        ymin = YLim(1) + 0.1 * (YLim(2) - YLim(1));%      else%        ymin = (YLim(1) - g_j_min) / 2;%      end                  y_acw = [ymin, ymin];      hl_acw = line(x_acw, y_acw);      set(hl_acw, 'Tag', 'Width_a');      set(hl_acw, 'Marker', 'x');    end    if (plotOpts.NormalizeXAxisToLj)      if (irow == nrow)        XTick = XLim;        XTickLabel = {'0', 'Lj -1'};        set(gca, 'XTick', XTick);        set(gca, 'XTickLabel', XTickLabel);      else        set(gca, 'XTickLabel', []);      end    else      if (irow == nrow)        % do nothing      else        set(gca, 'XTickLabel', []);      end    end    if (irow == nrow)      xlabel('\itl');    endreturn

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
极品少妇一区二区| 亚洲一线二线三线久久久| 蜜臂av日日欢夜夜爽一区| 欧美夫妻性生活| 免费欧美在线视频| ww亚洲ww在线观看国产| 国产精品一二三区在线| 中文字幕一区免费在线观看| 懂色av一区二区在线播放| 国产精品丝袜黑色高跟| 一本一道久久a久久精品| 亚洲国产va精品久久久不卡综合| 欧美日韩情趣电影| 国内精品第一页| 中文子幕无线码一区tr| 91福利视频网站| 另类调教123区| 国产日韩欧美综合在线| 97久久久精品综合88久久| 亚洲成av人片观看| 国产色综合一区| 在线观看免费亚洲| 久久国产精品99久久人人澡| 欧美国产在线观看| 欧美日韩在线观看一区二区| 老鸭窝一区二区久久精品| 国产清纯在线一区二区www| 色噜噜狠狠成人网p站| 日韩影视精彩在线| 中文字幕va一区二区三区| 欧美日韩专区在线| 国产91丝袜在线18| 亚洲午夜激情网页| 国产欧美日韩精品a在线观看| 在线精品视频免费观看| 精品一区二区国语对白| 亚洲精选视频在线| 久久久一区二区| 欧美亚州韩日在线看免费版国语版| 麻豆精品一区二区av白丝在线| 国产精品美女一区二区在线观看| 欧美日韩高清影院| 福利一区福利二区| 日本三级亚洲精品| 亚洲精品成人少妇| 国产欧美精品一区| 欧美电视剧免费全集观看| 91黄视频在线观看| 福利视频网站一区二区三区| 免费成人av资源网| 一区二区三区不卡视频在线观看| 欧美变态口味重另类| 欧美亚洲综合在线| jlzzjlzz欧美大全| 国产一区二区三区不卡在线观看 | 精品欧美一区二区三区精品久久 | 欧美性猛交xxxxxx富婆| 黄页网站大全一区二区| 调教+趴+乳夹+国产+精品| 亚洲天堂福利av| 国产无遮挡一区二区三区毛片日本| 9191成人精品久久| 欧美无砖专区一中文字| 色综合久久久久久久久| 99久久99久久精品国产片果冻| 国产福利视频一区二区三区| 毛片基地黄久久久久久天堂| 午夜欧美在线一二页| 亚洲成人福利片| 一区二区三区在线免费视频| 国产精品国产成人国产三级 | 中文字幕一区视频| 国产精品伦理一区二区| 欧美国产视频在线| 国产精品毛片久久久久久久| 国产精品视频一二三区| 欧美精彩视频一区二区三区| 国产亚洲欧美日韩俺去了| 久久影院午夜论| 久久久久久综合| 国产性天天综合网| 久久精品在线观看| 久久久久久久久久电影| 亚洲国产精品成人综合 | 95精品视频在线| 99国产精品视频免费观看| 91网上在线视频| 色丁香久综合在线久综合在线观看| 91免费看片在线观看| 91麻豆国产精品久久| 在线精品国精品国产尤物884a| 欧美伊人久久大香线蕉综合69| 欧美日韩国产电影| 日韩三级视频在线看| 久久亚洲精品国产精品紫薇| 国产视频一区二区在线| 1024亚洲合集| 亚洲大片精品永久免费| 蜜臀av一级做a爰片久久| 国产综合久久久久久鬼色| 国产a区久久久| 在线观看国产日韩| 精品入口麻豆88视频| 国产日韩欧美制服另类| 一区二区三区色| 青青青伊人色综合久久| 国产精品1024| 在线一区二区观看| 欧美大片在线观看一区二区| 中文字幕精品—区二区四季| 一区二区三区国产精华| 韩国一区二区在线观看| 色综合婷婷久久| 日韩视频在线一区二区| 国产精品毛片久久久久久久| 亚洲成a人片综合在线| 国产毛片精品视频| 91免费看`日韩一区二区| 日韩一区二区三区三四区视频在线观看| 久久婷婷久久一区二区三区| 一区二区在线看| 国产资源精品在线观看| 色天使色偷偷av一区二区| 欧美大度的电影原声| 亚洲婷婷国产精品电影人久久| 男男视频亚洲欧美| 91一区二区在线观看| 精品免费国产二区三区| 一区二区在线免费观看| 国产98色在线|日韩| 91精品国产综合久久国产大片| 国产精品入口麻豆原神| 另类人妖一区二区av| 在线精品视频一区二区| 欧美国产日韩在线观看| 久久精品久久综合| 欧美视频一区二区在线观看| 国产日本欧洲亚洲| 久久精品国产亚洲5555| 91九色02白丝porn| 中文字幕日韩一区二区| 国产一区二区三区视频在线播放| 欧美日韩精品二区第二页| 中文字幕在线一区| 国产真实精品久久二三区| 欧美肥胖老妇做爰| 夜夜嗨av一区二区三区| 99久久久免费精品国产一区二区| 久久久久久**毛片大全| 日韩成人午夜电影| 欧美性感一区二区三区| 亚洲欧美日本韩国| 国产在线播精品第三| 日韩亚洲欧美在线| 日韩**一区毛片| 欧美三级资源在线| 亚洲一区二区四区蜜桃| 92国产精品观看| 国产精品久久久久久久久免费樱桃| 久久se精品一区精品二区| 91精品一区二区三区久久久久久| 亚洲福利一区二区| 在线观看成人免费视频| 亚洲尤物在线视频观看| 色综合色狠狠天天综合色| 日韩久久一区二区| 色视频成人在线观看免| 亚洲欧美经典视频| 91免费精品国自产拍在线不卡| 最新日韩在线视频| 色综合色狠狠综合色| 亚洲老妇xxxxxx| 欧亚洲嫩模精品一区三区| 亚洲激情成人在线| 欧美日韩免费不卡视频一区二区三区| 玉足女爽爽91| 在线播放一区二区三区| 日本不卡一二三区黄网| 欧美成人艳星乳罩| 国产一区二区在线电影| 国产日产欧美一区二区视频| 成人激情免费视频| 亚洲人成人一区二区在线观看| 91国偷自产一区二区三区观看| 一区二区三区.www| 欧美丰满一区二区免费视频| 蜜桃av一区二区| 国产日产精品1区| 91免费精品国自产拍在线不卡| 亚洲一线二线三线视频| 日韩视频一区二区| 国产成人精品一区二区三区网站观看| 国产精品污www在线观看| 色网综合在线观看| 五月天激情小说综合| 久久免费电影网| 色呦呦日韩精品| 久久爱另类一区二区小说| 欧美激情一区二区三区蜜桃视频| 色综合久久天天|