Borrar filtros
Borrar filtros

Making interpolate of 3 set of data

1 visualización (últimos 30 días)
Peppe
Peppe el 29 de Mzo. de 2016
Respondida: Robert el 30 de Mzo. de 2016
Hi, I have some space data (or data space) from measurement that shows the position of the a mass. These data are given in a structure. I need to make a 3D surface or plane of these data, and the time vector is given? My question is : do I have to interpolate each column of data (there are three corresponding to x,y,z) by itself? using interp1 or is there a way to interpolate all as a function like f(t) = Ax(t) + By(t) + Cz(t).?? Thank in advance

Respuestas (1)

Robert
Robert el 30 de Mzo. de 2016
The function interp1 can interpolate over multiple columns at a time. Concatenate your column vectors and call interp1 one the matrix to do it all at once.

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