interpolate 3D data onto 2D plane
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have variables (p,T,u,v,w) that are output for 3D block. Each point location is defined by (x,y,z) with corresponding value of the variables (p,T,u,v,w).
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/951709/image.png)
Is it possible to interpolate the 3D data to 2-D plane shown in the following figure?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/951714/image.png)
Can gridata function be used for doing this interpolation?
In that case, xq,yq and zq are points on the 2-D plane (outlined in black color)?
2 comentarios
Respuestas (1)
Esha Chakraborty
el 7 de Abr. de 2022
Hi Zein,
I understand that you want to determine the possibility of interpolating 3D data onto 2D plane using griddata() function.
It is possible to fit a hypersurface of the form v = f(x,y,z) using griddata(x,y,z,v,xq,yq,zq), where griddata() function interpolates the surface at the query points specified by (xq,yq,zq) and returns the interpolated values, vq.
You can find a similar example in the link below:
0 comentarios
Ver también
Categorías
Más información sobre Interpolation en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!