Trouble with interpolation and gridding data points

3 visualizzazioni (ultimi 30 giorni)
suppose i have plane which is a subset of and i consider certain intervals on and i want to grid this in both , with some step size say and interpolate for all using the grid points, and i have a known function, where values of and are known.
The interpolation i want to use is and find the error
How would i grid the x1-x2 plane ? and how to use the interpolation formula there ? Any help ?

Risposte (1)

dpb
dpb il 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 Commenti
Siddhartha Ganguly
Siddhartha Ganguly il 9 Mar 2020
Thanks for the reply, how do find ? this will take two inputs right, both x1 and x2 , in the above formula for argument of phi is a vector and , then may be i'll have
, How do i write this vector sum and use the interpolation ?
Siddhartha Ganguly
Siddhartha Ganguly il 10 Mar 2020
@Image Analyst @dpb any idea on the interpolation and the sum, how do i proceed with this ?

Accedi per commentare.

Categorie

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

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by