resizing a matrix to a target size

1 次查看(过去 30 天)
Maryam
Maryam 2015-6-24
回答: Jan 2015-7-2
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
What about imresize?

Mark Matusevich
Mark Matusevich 2015-7-2
It might be an overkill in this case, but I think that interp2 can do the trick for you

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by