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에서 Image Processing and Computer Vision에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!