Error using - Matrix dimensions must agree
11:02 01 Sep 2013

I got the following error while working with a MATLAB program:

Error using - Matrix dimensions must agree

I noticed that the sizes of the matrices I'm trying to subtract from each other were:

firstMatrix --> 425x356

secondMatrix --> 426x356

How can I make them of equal size and go ahead and do my subtraction process?

I tried reshape, but the number of elements here seem to have to be equal.

matlab matrix size equality subtraction