Error using Matrix dimensions must agree

조회 수: 4 (최근 30일)
b.m.n n
b.m.n n 2016년 11월 1일
댓글: b.m.n n 2016년 11월 4일
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에서 Multidimensional Arrays에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by