
Plot only the outermost nodes
12 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Alberto Acri
am 8 Dez. 2022
Kommentiert: Mathieu NOE
am 12 Dez. 2022
Hello! I would like to fix my code in such a way that I get only the outermost nodes. How can I do this? Shown is an example of what I have achieved and what I want to achieve. Thanks in advance for any answers!
<-- result obtained
<-- expected resultX = readmatrix('test_9.txt');
% X = readmatrix('test_222.txt');
%% Run DBSCAN Clustering Algorithm
epsilon = 5;
MinPts = 2;
IDX=DBSCAN(X,epsilon,MinPts);
%% Plot Results
out = PlotClusterinResult_mod(X, IDX);
title(['DBSCAN Clustering (\epsilon = ' num2str(epsilon) ', MinPts = ' num2str(MinPts) ')']);
% double check 'out' data (boundary points) are now in the workspace
figure
plot(X(:,1),X(:,2),'d');
hold on
plot(out(:,1),out(:,2),'*k');
hold off
0 Kommentare
Akzeptierte Antwort
Mathieu NOE
am 8 Dez. 2022
hello again
I think I already answered this in your other post
here again attached the new code 

2 Kommentare
Mathieu NOE
am 12 Dez. 2022
hello Alberto
see my answer in your other post
maybe you should close this one , as it keeps things a bit simpler to follow ?
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!