Matrix and Spreadsheet Manipulation Help
이전 댓글 표시
I have a matrix that is about 200 x 10000. I need to divide each row of the matrix by the number in the corresponding row of a 200 x 1 matrix. This would be relatively simple in excel, but my boss is asking for it to be done in matlab. Can anyone help?
답변 (1개)
Walter Roberson
2013년 3월 11일
YourMatrix ./ repmat(YourVector, 1, size(YourMatrix,2))
카테고리
도움말 센터 및 File Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!