Error using Matrix dimensions must agree

3 次查看(过去 30 天)
Hi; everyone , I have data for one month To (Size[37x1]) and Ta (Size [ 31x1 ]) , When I use (To-Ta) this error show Error using - Matrix dimensions must agree. How can I deal with this error.

采纳的回答

Walter Roberson
Walter Roberson 2016-11-1
bsxfun(@minus, To, Ta.')

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrices and Arrays 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by