Error using Matrix dimensions must agree

10 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Multidimensional Arrays in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by