resizing a matrix to a target size

Hi all,
I have a [20500 x 41] matrix where 20500 is 500 x 41 and I want to rescale it to target size of [18271 x 121] where 18271 is 151 x 121. The mentioned matrices are the reconstruction of a 3D image and I want to have both in same size. So I want to rescale it. Can you help me regarding this?
Kind regards, Mary

답변 (2개)

Jan
Jan 2015년 7월 2일

1 개 추천

What about imresize?
Mark Matusevich
Mark Matusevich 2015년 7월 2일

0 개 추천

It might be an overkill in this case, but I think that interp2 can do the trick for you

카테고리

도움말 센터File Exchange에서 Mathematics에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

질문:

2015년 6월 24일

답변:

Jan
2015년 7월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by