Trouble with interpolation and gridding data points
    3 views (last 30 days)
  
       Show older comments
    
suppose i have   plane which is a subset of
 plane which is a subset of  and i consider certain intervals on
 and i consider certain intervals on  and i want to grid this in both
 and i want to grid this in both  , with some step size say
, with some step size say  and interpolate for all
 and interpolate for all  using the grid points, and i have a known function
using the grid points, and i have a known function , where values of
, where values of  and
 and  are known.
 are known.
 plane which is a subset of
 plane which is a subset of  and i consider certain intervals on
 and i consider certain intervals on  and i want to grid this in both
 and i want to grid this in both  , with some step size say
, with some step size say  and interpolate for all
 and interpolate for all  using the grid points, and i have a known function
using the grid points, and i have a known function , where values of
, where values of  and
 and  are known.
 are known.The interpolation i want to use is   and find the error
 and find the error 
 and find the error
 and find the error 
How would i grid the x1-x2 plane ? and how to use the interpolation formula there ? Any help ?
0 Comments
Answers (1)
  dpb
      
      
 on 8 Mar 2020
        Write a (vectorized) function for M(x1,x2), compute the interpolating grid [X,Y] with  meshgrid and then call the function with [X,Y]
Not clear to me, however, where x2 enters into M, though, altho the text is so small I can't really read it.
4 Comments
See Also
Categories
				Find more on Interpolation in Help Center and File Exchange
			
	Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!






