moving window rms slope
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I am trying to calculate the rms slope of a moving window:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/165719/image.png)
zc = elevation of central cell
zb = elevation of cells along the border of the window size
sb = distance of central cell to a border cell
N is the width of window size
To add, I am looking at a 2D matrix
I am having trouble computing the slope.. I have thought of using convolution and diff functions, but they lead to nowhere.
Please advice.
Thanks in advanced!
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!