adding matrix to every column in other matrix
    1 回表示 (過去 30 日間)
  
       古いコメントを表示
    
0 件のコメント
採用された回答
その他の回答 (1 件)
  James Tursa
      
      
 2013 年 4 月 14 日
        bsxfun(@plus,a,b)
2 件のコメント
  James Tursa
      
      
 2013 年 4 月 14 日
				I haven't tested bsxfun much, but I am not surprised by the timing. I have read many accounts here for various problems and several times it has come up that explicit formulations in one way or another beat bsxfun for speed. For small problems like this one the timing is likely irrelevant anyway.
参考
カテゴリ
				Help Center および File Exchange で Resizing and Reshaping Matrices についてさらに検索
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


