create point betweem two points
Mostrar comentarios más antiguos
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
Respuesta aceptada
Más respuestas (1)
Andrei Bobrov
el 16 de Jul. de 2012
out = ([10,15]-[2,5])*(2*rand-1)+[2,5]
Categorías
Más información sobre Matrix Indexing en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!