Error with clusterDBS​CAN.discov​erClusters

I was trying to run the Examples: Display Cluster Hierarchy, but I got an error.
Any idea on how to solve it ?
Here the code:
maxEpsilon = 10
minNumPoints = 6
X = [randn(20,2) + [11.5,11.5]; randn(20,2) + [25,15]; randn(20,2) + [8,20]; 10*rand(10,2) + [20,20]];
clusterDBSCAN.discoverClusters(X,maxEpsilon,minNumPoints)
which gives me the error:
Unable to resolve the name 'clusterDBSCAN.discoverClusters'.
Error in untitled2 (line 4)
clusterDBSCAN.discoverClusters(X,maxEpsilon,minNumPoints)

 Accepted Answer

Do you have the Radar Toolbox installed?

3 Comments

Hi, no, I do not have it.... should I install it?
It seems that clusterDBSCAN is a function in that toolbox, so it looks like you would need to, yes.
ah ok, I will try it later, thanks a lot @the cyclist !!!

Sign in to comment.

More Answers (0)

Asked:

Sim
on 29 Sep 2022

Commented:

Sim
on 1 Oct 2022

Community Treasure Hunt

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

Start Hunting!