📄 plotstatauto.m
字号:
function PlotStatAuto(StatWT)
% PlotStatTable -- Plot Stationary Wavelet Transform, with each scale
% scaled by itself
% Usage
% PlotStatTable(StatWT)
% Inputs
% StatWT 1-d stationary wavelet transform
% Side Effects
% A depiction of the stationary wavelet transform,
% much like multi-resolution decomposition
% of signal
% Description
% For use in bpfig41 only
% See Also
% PlotCoeff
%
[n,D1] = size(StatWT);
D = D1-1;
J = log2(n);
L = J-D;
%
x = StatWT(:,1)';
LockAxes([0 1 -(J) (-L+3)]);
t = (.5:(n-.5))/n;
scal = .5 ./ max(max(abs(x)));
plot(t,(-(L-1)) + scal.*x);
%
for j=(J-1):-1:L
x = StatWT(:,J-j+1);
scal = .5 ./ max(max(abs(x)));
plot(t, -(j) + scal.*x);
end
%
%
xlabel('t'); ylabel('Dyad');
title('Stationary Wavelet Transform');
%
UnlockAxes;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -