Matrix Dimensions must agree
    5 views (last 30 days)
  
       Show older comments
    
Error using  + 
Matrix dimensions must agree.
Error in embed_dwt_hsd_svd (line 43)
HSw_hat = alpha.*Sw + HSw;
0 Comments
Answers (1)
  madhan ravi
      
      
 on 20 Sep 2020
        
      Edited: madhan ravi
      
      
 on 20 Sep 2020
  
       HSw_hat = bsxfun(@plus, alpha.*Sw, HSw);
1 Comment
  madhan ravi
      
      
 on 20 Sep 2020
				
      Edited: madhan ravi
      
      
 on 20 Sep 2020
  
			size(Sw) and size(HSw) should match each other or to atleast perform implicit expansion addition.
See Also
Categories
				Find more on Creating and Concatenating Matrices in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
