a series of point coordinates are known, and their orientation (angle). Calculate gradient
조회 수: 2 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
답변 (1개)
Image Analyst
2013년 9월 27일
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.
참고 항목
카테고리
Help Center 및 File Exchange에서 Vector Fields에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!