MATLAB: Error using Matrix dimensions must agree

error array matrix dimensions

Hi; everyone , I have data for one month To (Size[37×1]) and Ta (Size [ 31×1 ]) , When I use (To-Ta) this error show Error using – Matrix dimensions must agree. How can I deal with this error.

Best Answer

bsxfun(@minus, To, Ta.')
Related Question