How to get a smooth scalar field on regular grids from irregularly distributed sample data?
I have irregularly distributed sample data (Rs, Zs, phi00), its contourf plot looks smooth like:
I use:
phi=griddata(Rs,Zs,phi00,Rgrid,Zgrid,’cubic’);
to get the data on regular grids. There are some zigzags on the contourf plot from regular grids like:
Since we can get a smooth contourf plot from the irregular sample data, I believe that there must a simple way to get the smooth data on regular grids. How can I get it?
The sample data points and the contourf plot and the scatteredinterpolant figures are:I have irregularly distributed sample data (Rs, Zs, phi00), its contourf plot looks smooth like:
I use:
phi=griddata(Rs,Zs,phi00,Rgrid,Zgrid,’cubic’);
to get the data on regular grids. There are some zigzags on the contourf plot from regular grids like:
Since we can get a smooth contourf plot from the irregular sample data, I believe that there must a simple way to get the smooth data on regular grids. How can I get it?
The sample data points and the contourf plot and the scatteredinterpolant figures are: I have irregularly distributed sample data (Rs, Zs, phi00), its contourf plot looks smooth like:
I use:
phi=griddata(Rs,Zs,phi00,Rgrid,Zgrid,’cubic’);
to get the data on regular grids. There are some zigzags on the contourf plot from regular grids like:
Since we can get a smooth contourf plot from the irregular sample data, I believe that there must a simple way to get the smooth data on regular grids. How can I get it?
The sample data points and the contourf plot and the scatteredinterpolant figures are: interpolation MATLAB Answers — New Questions