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

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

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

질문:

2020년 6월 22일

댓글:

2020년 6월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by