Plotting & Clustering points in Matlab needed clarification
조회 수: 1 (최근 30일)
이전 댓글 표시
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!