Matrix Multiplication by a vector of Ones - How to write mathematically
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi,
During my calculations I come at a point where I multiply say 9x9 matrix by a column vector containing ONEs of size 9x1. Definitely, it returns me a vector of 9x1 with all columns summed into single element.
What is such process called mathematically and how to write it in notation?
I will grateful for the help.
Best regards, Rehan
댓글 수: 0
답변 (2개)
John D'Errico
2017년 6월 1일
What is it called? A sum.
help sum
Or if you insist on doing it as a multiply, then
help ones
help mtimes
댓글 수: 0
Christoph F.
2017년 6월 1일
That is just a regular matrix multiplication, with the second "matrix" having only one column.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!