Matrix Dimensions must agree

4 visualizzazioni (ultimi 30 giorni)
sami ullah
sami ullah il 20 Set 2020
Modificato: madhan ravi il 20 Set 2020
Error using +
Matrix dimensions must agree.
Error in embed_dwt_hsd_svd (line 43)
HSw_hat = alpha.*Sw + HSw;

Risposte (1)

madhan ravi
madhan ravi il 20 Set 2020
Modificato: madhan ravi il 20 Set 2020
HSw_hat = bsxfun(@plus, alpha.*Sw, HSw);
  1 Commento
madhan ravi
madhan ravi il 20 Set 2020
Modificato: madhan ravi il 20 Set 2020
size(Sw) and size(HSw) should match each other or to atleast perform implicit expansion addition.

Accedi per commentare.

Categorie

Scopri di più su Creating and Concatenating Matrices in Help Center e File Exchange

Prodotti


Release

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by