Error with clusterDBS​CAN.discov​erClusters

2 views (last 30 days)
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

the cyclist
the cyclist on 1 Oct 2022
Do you have the Radar Toolbox installed?
  3 Comments
the cyclist
the cyclist on 1 Oct 2022
It seems that clusterDBSCAN is a function in that toolbox, so it looks like you would need to, yes.
Sim
Sim on 1 Oct 2022
ah ok, I will try it later, thanks a lot @the cyclist !!!

Sign in to comment.

More Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!