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)

 채택된 답변

the cyclist
the cyclist 2022년 10월 1일

0 개 추천

Do you have the Radar Toolbox installed?

댓글 수: 3

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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

질문:

Sim
2022년 9월 29일

댓글:

Sim
2022년 10월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by