| Wavelet Toolbox | |
| Provide feedback about this page |
Split (decompose) wavelet packet
Syntax
Description
wpsplt is a one- or two-dimensional wavelet packet analysis function.
wpsplt updates the wavelet packet tree after the decomposition of a node.
T = wpsplt(T,N) returns the modified wavelet packet tree T corresponding to the decomposition of the node N.
For a one-dimensional decomposition,
[T,cA,cD] = wpsplt(T,N) with cA = approximation and cD = detail of node N.
For a two-dimensional decomposition,
[T,cA,cH,cV,cD] = wpsplt(T,N) with cA = approximation and cH,cV,c = horizontal, vertical, and diagonal details of node N.
Examples
% The current extension mode is zero-padding (seedwtmode). % Load signal. load noisdopp; x = noisdopp; % Decompose x at depth 3 with db1 wavelet packets. wpt = wpdec(x,3,'db1'); % Plot wavelet packet tree wpt. plot(wpt)% Decompose packet (3,0). wpt = wpsplt(wpt,[3 0]); % or equivalently wpsplt(wpt,7). % Plot wavelet packet tree wpt. plot(wpt)
See Also
wavedec, wavedec2, wpdec, wpdec2, wpjoin
| Provide feedback about this page |
![]() | wprec2 | wpthcoef | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |