a series of point coordinates are known, and their orientation (angle). Calculate gradient
Mostrar comentarios más antiguos
For example, 10 points' coordinates are known, as (xi, yi) i =1 ... 10 and a corresponding angle of each point is known, as ai
How I can calculate the gradient of each point and How does it show an arrow on the image for each point?
Thanks.
Respuestas (1)
Image Analyst
el 27 de Sept. de 2013
1 voto
How can a bunch of points in a 2D plane, scattered all over the place, have a gradient? How did you get the angle at those points, but not the magnitude ?
Anyway, you can use quiver to put arrows on the picture.
Categorías
Más información sobre Vector Fields en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!