Clear Filters
Clear Filters

How to remove redundant clusters.

3 views (last 30 days)
BHAGYALAKSHMI M
BHAGYALAKSHMI M on 3 Mar 2020
Commented: BHAGYALAKSHMI M on 4 Mar 2020
How to remove the redundant clusters or duplicate clusters. Please help me.

Answers (1)

Image Analyst
Image Analyst on 3 Mar 2020
Use the function : unique().
  1 Comment
BHAGYALAKSHMI M
BHAGYALAKSHMI M on 4 Mar 2020
I tried the unique and diff, but I am getting some errors in the use of a dendrogram for representation. So I think that was a mistake of the portion of the removal of redundant clusters. The error is
" Index in position 2 exceeds array bounds (must not exceed 1).
Error in dendrogram (line 121)
threshold = 0.7 * max(Z(:,3));
Error in dbdense (line 32)
dendrogram(new) "
How can I solve this?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!