how to calculate slope of each grid ?
古いコメントを表示
i have 80*80 matrix. I wanted to write a code to find slope of every grid.
4 件のコメント
KSSV
2017 年 5 月 30 日
What slope? Slope needs two points?
Pritha Pande
2017 年 5 月 30 日
Jan
2017 年 5 月 30 日
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
2017 年 6 月 1 日
回答 (1 件)
[dx, dy] = gradient(X)
カテゴリ
ヘルプ センター および File Exchange で Weather and Atmospheric Science についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!