DBSCAN 聚类 自手动调节查看 matlab
clc
clear all
n = 200;
a = linspace(0,8*pi,n/2);
u = [5*cos(a)+5 10*cos(a)+5]'+1*rand(n,1);
v = [5*sin(a)+5 10*sin(a)+5]'+1*rand(n,1);
Data=[u v];
CoreIndex=[];
radius=2;
NUMS=3;
for i=1:size(Data,1)
Count=0;
for j=1:size(Data,1)
if sqrt((...
原创
2021-09-04 13:21:15 ·
163 阅读 ·
0 评论