Error with clusterDBS​CAN.discov​erClusters

1 visualizzazione (ultimi 30 giorni)
Sim
Sim il 29 Set 2022
Commentato: Sim il 1 Ott 2022
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)

Risposta accettata

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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by