Reducing columns and rows numbers to match a certain matrix.

Hi,
I have a set of tiff image files with different numbers of rows and columns. How can I reduce the number of rows and columns to match a certain value, so that they all have same number of rows and columns.

Answers (1)

Find the minimum number of rows and columns and index every matrix until the minimum.

1 Comment

Thanks for your quick reply. Can you please give some indication in terms of writing the script in matlab to apply your suggestion.

Sign in to comment.

Asked:

on 1 Jul 2020

Commented:

on 1 Jul 2020

Community Treasure Hunt

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

Start Hunting!