Leveling a surface within MATLAB

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 commentaires

darova
darova le 22 Juin 2020
I don't understand the question. You want to interpolate the surface? Or maybe you are looking for griddata?
rubindan
rubindan le 22 Juin 2020
Image Analyst
Image Analyst le 22 Juin 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 le 23 Juin 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.

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by