Matrix Dimensions must agree

Error using +
Matrix dimensions must agree.
Error in embed_dwt_hsd_svd (line 43)
HSw_hat = alpha.*Sw + HSw;

Antworten (1)

madhan ravi
madhan ravi am 20 Sep. 2020
Bearbeitet: madhan ravi am 20 Sep. 2020

0 Stimmen

HSw_hat = bsxfun(@plus, alpha.*Sw, HSw);

1 Kommentar

madhan ravi
madhan ravi am 20 Sep. 2020
Bearbeitet: madhan ravi am 20 Sep. 2020
size(Sw) and size(HSw) should match each other or to atleast perform implicit expansion addition.

Melden Sie sich an, um zu kommentieren.

Kategorien

Produkte

Version

R2015a

Gefragt:

am 20 Sep. 2020

Bearbeitet:

am 20 Sep. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by