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)

 采纳的回答

Do you have the Radar Toolbox installed?

3 个评论

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 !!!

请先登录,再进行评论。

更多回答(0 个)

类别

Community Treasure Hunt

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

Start Hunting!

Translated by