interpolating matrices between rows

1 visualización (últimos 30 días)
AAS
AAS el 5 de Sept. de 2020
Comentada: AAS el 5 de Sept. de 2020
I have the following matrix where the 1st column represents position x and 2nd column represents position y. The third column represents magnitude.Each row represents (x,y,magnitude) at a point. Is there any way to adaptively interpolate between the rows i,e interpolate using some function where there will be more points added beween certain points and less points added at others.
Thanks

Respuestas (2)

KSSV
KSSV el 5 de Sept. de 2020
Read about griddata and scatteredinterpolant functions.
  1 comentario
AAS
AAS el 5 de Sept. de 2020
No this doesnt work as there are some areas that does have any data.it seems to produce points all across the 2D frame.

Iniciar sesión para comentar.


KSSV
KSSV el 5 de Sept. de 2020
You attach your data as a text file or mat file. Image snippet cannot be used to work.

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by