Location of object leaving a specific point
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi. For example i set the peripheral of a circle my set point. Does anyone knows how can i get the locations of the some balls when are leaving this circle? Any help will be appreciated. Thanks a lot
5 Commenti
Risposte (1)
Image Analyst
il 4 Lug 2016
Use hypot() or sqrt() to determine the distance of the centroid of your blob from the center of your circle. When that distance is more than the radius of the circle, it is not "inside" the circle.
You might like to see several things in the FAQ on circles: http://matlab.wikia.com/wiki/FAQ#How_do_I_create_a_circle.3F
0 Commenti
Vedere anche
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!