find distance between random points.
Afficher commentaires plus anciens
i have created a random plots inside a specific radius. now i need to find distance between the random points and the origin. the origin is (0,0). how can i find the distance?
Réponses (1)
bym
le 20 Mar 2012
hypot(x,y)
Catégories
En savoir plus sur Probability Distributions and Hypothesis Tests dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!