Azzera filtri
Azzera filtri

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

18 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Interpolation in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by