interpolate only between columns
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Melissa Driskell
el 11 de Ag. de 2016
Respondida: Richard Fisher
el 17 de Ag. de 2016
I have a large matrix and I want to interpolate between the columns, i.e. interp2 does exactly what i want EXCEPT i don't want it to interp between the rows.
there must be an easy way to do this!!
thanks!
0 comentarios
Respuesta aceptada
Richard Fisher
el 17 de Ag. de 2016
I think you're looking for interp1, which can be used to interpolate for a number of functions(columns in a matrix) in one pass. To see an example of this, execute the following:
openExample('matlab/InterpolateMultipleSetsofDatainOnePassExample')
If this is interpolating in the wrong dimension, then use the transposition as suggested by J. Webster.
0 comentarios
Más respuestas (1)
Ver también
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!