Borrar filtros
Borrar filtros

matrix interpolation in one dimension

1 visualización (últimos 30 días)
Seyed Sahand Mohammadi Ziabari
Seyed Sahand Mohammadi Ziabari el 7 de En. de 2018
I have a matrix with 30*12 dimension. I just want to interpolate the vertical dimension and keep the row constant. How can I do that with interp1? It should be 1200*12. And is there any other function that does the interpolation with not just linearly?

Respuesta aceptada

KSSV
KSSV el 7 de En. de 2018
Have a look on imresize.
  6 comentarios
Jan
Jan el 7 de En. de 2018
@Seyed: Images are resized by interpolating them.
"like cubic formula or sth like that" - please be specific. It is your turn to explain, what you want.
Seyed Sahand Mohammadi Ziabari
Seyed Sahand Mohammadi Ziabari el 11 de En. de 2018
Ok, got it. Thanks a lot, both of you Stephen Cobeldick and Jan Simon.

Iniciar sesión para comentar.

Más respuestas (0)

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