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

📄 figure328.m

📁 时间序列分析中很用的源码,书的原名为时间序列分析的小波方法.
💻 M
字号:
% figure328 - Display selected portion of vertical shear measurements and% associated backward differences.% % Usage:%   figure328%% $Id: figure328.m 569 2005-09-12 19:37:21Z ccornish $% Load the data[X, x_att] = wmtsa_data('msp');base_depth = 350.0;delta_depth = 0.1;depth = base_depth + delta_depth * ([0:1:length(X)-1]);depth = depth(:);% Extract meausurments between depths of 489.5 to 899.0 metersindices = find(depth >= 489.5 & depth <= 899.0);X = X(indices);depth = depth(indices);% Plot extracted time serieshaxes1 = subplot(2, 1, 1);plot(depth, X);XLim = [450 900];YLim1 = [-6, 6];set(haxes1, 'XLim', XLim);set(haxes1, 'YLim', YLim1);title('X_t');% Calculate and plot backward differencesbackward_diff = diff(X);haxes2 = subplot(2, 1, 2);plot(depth(2:end), backward_diff);YLim2 = [-0.25, .25];YTickInc2 = [.25];set(haxes2, 'XLim', XLim);set(haxes2, 'YLim', YLim2);set(haxes2, 'YTick', [YLim2(1):YTickInc2:YLim2(2)]);set(haxes2, 'YTickLabel', [YLim2(1):YTickInc2:YLim2(2)]);title('X_t^{(1)}');title_str = ...    {['Figure 328.'], ...     ['Selected portion of vertical shear measurements (top)'], ...     ['and associated backward differencies (bottom']};suptitle(title_str);figure_datestamp(mfilename, gcf);

⌨️ 快捷键说明

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