Matrix Dimensions must agree

5 vues (au cours des 30 derniers jours)
sami ullah
sami ullah le 20 Sep 2020
Modifié(e) : madhan ravi le 20 Sep 2020
Error using +
Matrix dimensions must agree.
Error in embed_dwt_hsd_svd (line 43)
HSw_hat = alpha.*Sw + HSw;

Réponses (1)

madhan ravi
madhan ravi le 20 Sep 2020
Modifié(e) : madhan ravi le 20 Sep 2020
HSw_hat = bsxfun(@plus, alpha.*Sw, HSw);
  1 commentaire
madhan ravi
madhan ravi le 20 Sep 2020
Modifié(e) : madhan ravi le 20 Sep 2020
size(Sw) and size(HSw) should match each other or to atleast perform implicit expansion addition.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Creating and Concatenating Matrices dans Help Center et File Exchange

Produits


Version

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by