Matrix Dimensions must agree
4 次查看(过去 30 天)
显示 更早的评论
Error using +
Matrix dimensions must agree.
Error in embed_dwt_hsd_svd (line 43)
HSw_hat = alpha.*Sw + HSw;
0 个评论
回答(1 个)
madhan ravi
2020-9-20
编辑:madhan ravi
2020-9-20
HSw_hat = bsxfun(@plus, alpha.*Sw, HSw);
1 个评论
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 Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!