필터 지우기
필터 지우기

2D cubic interpolation

조회 수: 10 (최근 30일)
Kenvin Nguyen
Kenvin Nguyen 2020년 9월 1일
답변: Shubham Khatri 2020년 9월 8일
how to interpolate a point using 2D cubic interpolation
can you write codes to execute it?
  댓글 수: 2
John D'Errico
John D'Errico 2020년 9월 1일
Yes, I can. Can you? Have you bothered to look at the MATLAB tools that do interpolation? If not, then why not?
Kenvin Nguyen
Kenvin Nguyen 2020년 9월 2일
like how

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

답변 (1개)

Shubham Khatri
Shubham Khatri 2020년 9월 8일
You can perform 2D Cubic interpolation using the function interp2 and specifying the method as ‘cubic’. For example, a general command would look like
Vq = interp2(X,Y,V,Xq,Yq,'cubic')
It returns interpolated values of a function of two variables at specific query points using cubic interpolation. The results always pass through the original sampling of the function. X and Y contain the coordinates of the sample points. V contains the corresponding function values at each sample point. Xq and Yq contain the coordinates of the query points.
For more information about interp2, please refer

카테고리

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