Plotting & Clustering points in Matlab needed clarification
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Abinaya
le 7 Fév 2014
Réponse apportée : Image Analyst
le 7 Fév 2014
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 commentaires
Réponse acceptée
Image Analyst
le 7 Fév 2014
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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Cluster Analysis and Anomaly Detection dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!