Clear Filters
Clear Filters

Interpolation close a "virtual" object

1 view (last 30 days)
Ludovico Soldati
Ludovico Soldati on 16 Dec 2018
Hi,
I have built a geometry into a 3D domain and then I have created a mesh with a program that does it automatically. Then I have calculated a property in the domain using a numerical calculator and exported the data. I have imported the scattered data into Matlab in order to make the plots, so I have built a 3D meshgrid in the volume, interpolated the scattered data in the ordered meshgrid using scatteredInterpolant and done the plots. Now, the numerical calculator assigned certain values to the points on the surfaces of the object; the linear interpolation on the meshgrid blends the values through the object surfaces due to the not correspondence of the meshgrid points to the object surfaces (otherwise the exact value would be assigned to the surface points of the meshgrid).
Here is an example of what I mean
Immagine.jpg
Since the geometry of the object changes in every project and the program that plots the results is the same for all of them and it must be automatic, is there a way to assign a value to the points in proximity of the surface close to the real one?

Answers (0)

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!