Created
July 16, 2022 11:02
-
-
Save sunsided/70d178de8a50dac5d85276da5c41c500 to your computer and use it in GitHub Desktop.
Tobler's rule in Matlab
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function [w] = tobler(slope, scaling) | |
w = scaling*6*exp(-3.5 * abs(slope+0.05)); | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment