matrix interpolation in one dimension

조회 수: 1 (최근 30일)
Seyed Sahand Mohammadi Ziabari
Seyed Sahand Mohammadi Ziabari 2018년 1월 7일
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?

채택된 답변

KSSV
KSSV 2018년 1월 7일
Have a look on imresize.
  댓글 수: 6
Jan
Jan 2018년 1월 7일
@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 2018년 1월 11일
Ok, got it. Thanks a lot, both of you Stephen Cobeldick and Jan Simon.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Interpolation에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by