Trouble with interpolation and gridding data points

조회 수: 2 (최근 30일)
Siddhartha Ganguly
Siddhartha Ganguly 2020년 3월 8일
댓글: Siddhartha Ganguly 2020년 3월 10일
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 ?

답변 (1개)

dpb
dpb 2020년 3월 8일
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
Siddhartha Ganguly
Siddhartha Ganguly 2020년 3월 9일
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 2020년 3월 10일
@Image Analyst @dpb any idea on the interpolation and the sum, how do i proceed with this ?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Interpolation에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by