Matrix Dimensions must agree

조회 수: 1 (최근 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 CenterFile Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기

제품


릴리스

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by