Filter löschen
Filter löschen

Error using Matrix dimensions must agree

1 Ansicht (letzte 30 Tage)
b.m.n n
b.m.n n am 1 Nov. 2016
Kommentiert: b.m.n n am 4 Nov. 2016
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.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 1 Nov. 2016
bsxfun(@minus, To, Ta.')

Weitere Antworten (0)

Kategorien

Mehr zu Matrices and Arrays finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by