Matrix Multiplication by a vector of Ones - How to write mathematically

10 次查看(过去 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

回答(2 个)

John D'Errico
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

Christoph F.
Christoph F. 2017-6-1
That is just a regular matrix multiplication, with the second "matrix" having only one column.
  1 个评论
Rehan Rehan
Rehan Rehan 2017-6-1
Thanks for the reply.
Of course, that is how it is performed but my question was from matrix algebra point of view. In case there exists a "name" of such operation or any evidence where it is utilized.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Linear Algebra 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by