Plotting & Clustering points in Matlab needed clarification
1 回表示 (過去 30 日間)
古いコメントを表示
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/156312/image.jpeg)
In this figure the lines are detected.We are asked to plot the red points and yellow points separetly and cluster it.We are new to Matlab.1)How to plot only the red and yellow points 2) how to cluster it.Kindly help us with Matlab coding
0 件のコメント
採用された回答
Image Analyst
2014 年 2 月 7 日
Call plot():
hold on
plot(xRed, yRed, 'r.', 'MarkerSize', 15);
plot(xYellow, yYellow, 'r.', 'MarkerSize', 15);
Since your code drew the lines , you must have the endpoints of the lines. Just load those into xRed, yRed, xYellow, and yYellow and call the lines of code above.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Cluster Analysis and Anomaly Detection についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!