Leveling a surface within MATLAB

7 views (last 30 days)
Prospera Sibanda
Prospera Sibanda on 22 Jun 2020
Commented: Prospera Sibanda on 23 Jun 2020
Hello everyone.
I have a 466307x3 matrix of a surface and my aim is to calculate surface parameter Sa. May I know how to level the surface (remove surface slope) like you would in a software like mountain maps or sensomap?
Thanks for your support.
  4 Comments
Image Analyst
Image Analyst on 22 Jun 2020
There are many ways to "flatten" even a 1-D curve. Lots of different methods. There are even more so with a 2-D surface (e.g. the MATLAB peaks orange mountain logo). So you need to be specific as to what method you'd like to use. What if you just took the convex hull with convn() and used that to flatten it? This would be like if you stood the surface on a table top. The surface would fall and tilt until just 3 points were in contact with the table top, like a tripod.
Prospera Sibanda
Prospera Sibanda on 23 Jun 2020
Thanks everyone for your quick response, I am still learning to use MATLAB and it is an interesting experience.
I will try the function suggesting in the link by 'rubidan' and also use convn().
Thanks again.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!