How to remove redundant clusters.

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

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.

Categories

Asked:

on 3 Mar 2020

Commented:

on 4 Mar 2020

Community Treasure Hunt

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

Start Hunting!