Borrar filtros
Borrar filtros

2D cubic interpolation

10 visualizaciones (últimos 30 días)
Kenvin Nguyen
Kenvin Nguyen el 1 de Sept. de 2020
Respondida: Shubham Khatri el 8 de Sept. de 2020
how to interpolate a point using 2D cubic interpolation
can you write codes to execute it?
  2 comentarios
John D'Errico
John D'Errico el 1 de Sept. de 2020
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 el 2 de Sept. de 2020
like how

Iniciar sesión para comentar.

Respuestas (1)

Shubham Khatri
Shubham Khatri el 8 de Sept. de 2020
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

Categorías

Más información sobre Interpolation en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by