Given a 1024x918 matrix i drew a contour map and marked 8 points on it (top of the mountains). Using gradient descent I want to find shortest way down given the only matrix. How should I approximate the value of the gradient and what grid point should I pick?
Asked
Active
Viewed 126 times
0
-
Where the contours are closest together marks the point where the gradient is steepest. It's not clear how you used the matrix to draw the contour map. – Adrian Keister Apr 26 '18 at 14:17
-
I used contour matlab function. But how do I find the closest point on the next contour? – Emigsfd Apr 27 '18 at 18:56
