Matrix Dimensions must agree

4 ビュー (過去 30 日間)
sami ullah
sami ullah 2020 年 9 月 20 日
編集済み: madhan ravi 2020 年 9 月 20 日
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 日
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.

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

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

製品


リリース

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by