matrix interpolation in one dimension

3 Ansichten (letzte 30 Tage)
Seyed Sahand Mohammadi Ziabari
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?

Akzeptierte Antwort

KSSV
KSSV am 7 Jan. 2018
Have a look on imresize.
  6 Kommentare
Jan
Jan am 7 Jan. 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
Ok, got it. Thanks a lot, both of you Stephen Cobeldick and Jan Simon.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Interpolation finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by