To find the slope and aspect from digital elevation model image file

Respected, I have tried to read the DEM image file in .tif format and tried to calculate the slope of the particular image. I could not get the appropriate function to calculate the slope as well as the aspect of the image.
Thank You.

1 Comment

You started with a 3D Digital Elevation Model file and flattened it to 2D. Unless I’m missing something here, the slope of your .tif file is uniformly zero.

Sign in to comment.

Asked:

on 21 Apr 2014

Commented:

on 21 Apr 2014

Community Treasure Hunt

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

Start Hunting!