回答 (1 件)

Aditya Patil
Aditya Patil 2021 年 4 月 8 日

0 投票

You can use dbscan on 1d array, as below
X = rand(100,1);
dbscan(X, 0.1, 5)
However, it might not be the most appropriate one. Depending on your requirements, kmeans/kmedoids might work better.

1 件のコメント

Abhishek Mani Shukla
Abhishek Mani Shukla 2021 年 4 月 8 日
In our case for 1d array using dbscan gives only single cluster while the data set is mixing of two cluster.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File Exchange で Statistics and Machine Learning Toolbox についてさらに検索

製品

リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by