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

📄 figure195.m

📁 时间序列分析中很用的源码,书的原名为时间序列分析的小波方法.
💻 M
字号:
% figure195 - Calculate and plot MODWT expanded view of MRA of ocean shear to replicate Figure 195 of WMTSA.% % Usage:%   figure195%% $Id: figure195.m 569 2005-09-12 19:37:21Z ccornish $% Load the data[X, x_att] = wmtsa_data('msp');% Compute MODWT coefficientswtfname = 'la8';J0 = 7;boundary = 'reflection';[WJt, VJt, w_att] = modwt(X, wtfname, J0, boundary);% Compute inverse MODWT MRA reconstruction.[DJt, SJt, mra_att] = imodwt_mra(WJt, VJt, w_att);title_str = {};title_str(1) = {['\bfFigure 195.\rm Expanded view of detail series']};title_str(2) = {['MODWT multiresolution analysis of vertical ' ...                 'shear measurements']};title_str(3) = {['(in inverse seconds) versus depth (in meters).']};title_str(4) = {['Wavelet: ' wtfname ',  NLevels: ', int2str(J0), ',  Boundary: ' ...                 boundary]};delta_z = 0.1;        % vertical sampling in metersdepth_offset = 350.0; % uppermost depth of profilexaxis = (1:length(X)) * delta_z + depth_offset;clear MRAplotAxesProp;MRAplotAxesProp.XLim      = [300 1050];MRAplotAxesProp.XTick     = [300:50:1050];MRAplotAxesProp.XTickLabel  = [300:50:1050];% Plot MRA coefficients[hMRAplotAxes] = plot_imodwt_mra(DJt, [], [], mra_att, ...           title_str, xaxis, 'depth (meters)', MRAplotAxesProp);% Plot overlay of lines marking depths at 489.5 and 899.0 metersx_489 = 489.5;x_899 = 899.0;lineProp.Color = 'green';lineProp.LineWidth = .35;% Plot overlay on MRA plot.ylim = get(hMRAplotAxes, 'YLim');y1 = ylim(1);y2 = ylim(2);set(get(hMRAplotAxes, 'Parent'), 'CurrentAxes', hMRAplotAxes);linesegment_plot(x_489, y1, x_489, y2, lineProp);linesegment_plot(x_899, y1, x_899, y2, lineProp);figure_datestamp(mfilename, gcf);

⌨️ 快捷键说明

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