How to do wavelet decomposition and hierarchical clustering in Matlab?

2 ビュー (過去 30 日間)
Sepp
Sepp 2015 年 8 月 5 日
編集済み: Sepp 2015 年 8 月 5 日
Hello
I want to apply a wavelet decomposition on a vector x using Matlab wpdec function. How can I retrieve from this the approximation and detail coefficients at different decomposition levels?
Seecond, I want to apply Ward clustering on the rows of a matrix X (with Euclidean distance). In Matlab I can do it with
Z = linkage(A,'ward','euclidean');
In the end I want 8 clusters. For deriving the clusters I want to use the inconsistency coefficient as described here :
In Matlab it can be done like that:
T = cluster(Z,'cutoff',1.2);
The problem now is that I want exactly 8 clusters, so I don't know the value of the "cutoff"
How can I do this to retrieve exactly 8 clusters? Perhaps the Matlab function inconsistent must be used?

回答 (0 件)

カテゴリ

Help Center および File ExchangeSignal Analysis についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by