Matrix Dimensions must agree

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

回答 (1 件)

madhan ravi
madhan ravi 2020 年 9 月 20 日
編集済み: madhan ravi 2020 年 9 月 20 日

0 投票

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

1 件のコメント

madhan ravi
madhan ravi 2020 年 9 月 20 日
編集済み: madhan ravi 2020 年 9 月 20 日
size(Sw) and size(HSw) should match each other or to atleast perform implicit expansion addition.

サインインしてコメントする。

カテゴリ

製品

リリース

R2015a

質問済み:

2020 年 9 月 20 日

編集済み:

2020 年 9 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by