how to calculate slope of each grid ?
Mostrar comentarios más antiguos
i have 80*80 matrix. I wanted to write a code to find slope of every grid.
4 comentarios
KSSV
el 30 de Mayo de 2017
What slope? Slope needs two points?
Pritha Pande
el 30 de Mayo de 2017
Jan
el 30 de Mayo de 2017
Then your professor might be so kind to define, which slope you should calculate. The slope in x and in y direction? The direction of the steepest descent? The vector orthogonal to the plane in each point? Imagine you have a balloon. What is the "slope" in each point?
Pritha Pande
el 1 de Jun. de 2017
Respuestas (1)
[dx, dy] = gradient(X)
2 comentarios
Pritha Pande
el 30 de Mayo de 2017
Jan
el 30 de Mayo de 2017
Did you read this already:
doc gradient
?
Categorías
Más información sobre Weather and Atmospheric Science 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!