waht does the command "cfs = read(wpt,'data') " return?
1 次查看(过去 30 天)
显示 更早的评论
wpt is the wavelet packet tree. does "cfs = read(wpt,'data') " return the sum of the coefficients of the tree nodes at the bottom level?
But the result is in fact different from the original signal?
Why?
thanks
0 个评论
采纳的回答
Wayne King
2011-10-27
Hi,
cfs = read(wpt,'data');
returns the coefficients in the terminal nodes of the wavelet packet tree. These are not equal to the data.
For example:
dwtmode('per');
x = randn(16,1);
T = wpdec(x,3,'db2');
plot(T)
Now, click on (3,0) (3,1), (3,2) and so on.
You see in each one of these nodes, there are 4 coefficients. Since there are 8 such nodes, there are a total of 32 coefficients.
cfs = read(T,'data');
returns these 32 coefficients.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Discrete Multiresolution Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!