create point betweem two points
Afficher commentaires plus anciens
Hi every one
I have two points, for example
(2,5)-(10,15)... how can I create a new point between them???
thanks a loot
majid
Réponse acceptée
Plus de réponses (1)
Andrei Bobrov
le 16 Juil 2012
out = ([10,15]-[2,5])*(2*rand-1)+[2,5]
Catégories
En savoir plus sur Matrix Indexing 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!