Matrix Dimensions must agree

4 visualizaciones (últimos 30 días)
sami ullah
sami ullah el 20 de Sept. de 2020
Editada: madhan ravi el 20 de Sept. de 2020
Error using +
Matrix dimensions must agree.
Error in embed_dwt_hsd_svd (line 43)
HSw_hat = alpha.*Sw + HSw;

Respuestas (1)

madhan ravi
madhan ravi el 20 de Sept. de 2020
Editada: madhan ravi el 20 de Sept. de 2020
HSw_hat = bsxfun(@plus, alpha.*Sw, HSw);
  1 comentario
madhan ravi
madhan ravi el 20 de Sept. de 2020
Editada: madhan ravi el 20 de Sept. de 2020
size(Sw) and size(HSw) should match each other or to atleast perform implicit expansion addition.

Iniciar sesión para comentar.

Categorías

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

Etiquetas

Productos


Versión

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by