Borrar filtros
Borrar filtros

Error using Matrix dimensions must agree

1 visualización (últimos 30 días)
b.m.n n
b.m.n n el 1 de Nov. de 2016
Comentada: b.m.n n el 4 de Nov. de 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.

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Matrices and Arrays en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by