How to interpolate a non-uniform 3D gridded data to an uniform 3D gridded data?

17 次查看(过去 30 天)
Hi all, I am very new to MATLAB. I have a data set of x,y,z coordinates of a grid and corresponding velocity vectors at each point. It goes somewhat like given below. The red color highlight depicts the coordinates of the grid points (X, Y, Z) and the green color highlight depicts the wind vectors (u,v,w) at that point. This is a non-uniform gridded data. How can I use this data set to generate a uniform gridded data? This means I need to generate uniform grid points in Xi, Yi, Zi directions and generate their corresponding wind vectors ui, vi, wi at each point?

采纳的回答

Nicolas Schmit
Nicolas Schmit 2017-10-31
Create a uniform grid Xi, Yi, Zi, then use griddata to interpolate your data on the regular grid.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Interpolation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by