what is the equation matlab uses to calculate slope in the gradient function

4 ビュー (過去 30 日間)
Stuart
Stuart 2014 年 7 月 31 日
回答済み: Gilbert@12345 2017 年 8 月 2 日
When using the command: [ASPECT, SLOPE, gradN, gradE] = gradientm(Z, R)
what is the equation that MATLAB uses to calculate the SLOPE?
If one uses the HELP for the gradient command, the help shows the definition (equations) of the calculation that is performed. This would be helpful for gradientm as well.
The HELP for the gradientm command does not provide this info.
  1 件のコメント
Eric
Eric 2014 年 7 月 31 日
Due to the nature of the problem, I think the reason there's no simple equation for gradientm is that no simple equation exists. Your best bet may be to look at the code within gradientm.m.
-Eric

サインインしてコメントする。

回答 (1 件)

Gilbert@12345
Gilbert@12345 2017 年 8 月 2 日
Please read page 287 of Matlab recipes for Earth Sciences
https://books.google.fr/books?id=-8q5BgAAQBAJ&pg=PA287&lpg=PA287&dq=matlab+gradientm&source=bl&ots=-EUpZv2jv6&sig=CnW5MRIAlNh6XlFsLUscMipvXBM&hl=fr&sa=X&ved=0ahUKEwioy8-rgrjVAhVCxRQKHaC5AygQ6AEIQjAD#v=onepage&q=matlab%20gradientm&f=false

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by