3D Data Interpolation Matlab script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: NewtFit.m
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: Matlab
  • Price:Freeware
  • Company: Per Sundqvist (View more)

3D Data Interpolation script description:




Publisher review:
3D Data Interpolation - 3D interpolation using modified 4-point vector Newton interpolation Syntax: ui=NewtFit(x,y,z,u,xi,yi,zi)3D interpolation. It may be used where griddata3 fails to find a triangularization of the datagrid (x,y,z). The function uses a modified 4 point Newton interpolation formula for vector arguments in 3D instread of scalars used in 1D. The interpolation is performed for the 4 nearest neighbors for each point in the (xi,yi,zi).u=u(x,y,z) is the data from which ui(xi,yi,zi) is interpolated x,y,z,u are vectors of same size and xi,yi,zi are also vectors. The fit is exact (u=ui) for points (xi,yi,zi) that coinside with data points (x,y,z). Note: NewtFit also delivers result for points outside the domain (i.e., extrapolation), but results may be inaccurate then.%Example: Prepare data in random non-uniform gridxyz=rand(10003,3);x=xyz(:,1);y=xyz(:,2);z=xyz(:,3);u=x.^3 sin(pi*y).^2.*z.^2;%Gridpoints to fit:xyz=rand(8007,3);xi=xyz(:,1);yi=xyz(:,2);zi=xyz(:,3);%Interpolateui=NewtFit(x,y,z,u,xi,yi,zi);%compare and plotuui=xi.^3 sin(pi*yi).^2.*zi.^2;%exactplot(uui,ui,'.');pause(4)hist(uui-ui,60);standard_deviation=std(uui-ui)
3D Data Interpolation is a Matlab script for Mathematics scripts design by Per Sundqvist. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.

Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5