I understand that you wish to obtain an interpolated form of your 3D figure which is loaded in MATLAB through a stl format. The following steps can be considered to obtain an interpolated version of your model.
- Read the '.stl' file in MATLAB using 'stlread' function.
- Use a 'meshgrid' function to obtain the grid to interpolate.
- Use a function like 'scatteredInterpolant' to interpolate the data points.
- Use 'alphaShape' function if the surface is required to be closed.
The following MATLAB Answer also gives a good explanation:
The following MathWorks documentations can be referred:
'scatteredInterpolant': https://www.mathworks.com/help/matlab/ref/scatteredinterpolant.html
Thanks.


