is there such a matrix operator

1 view (last 30 days)
zilai si
zilai si on 18 May 2019
Commented: madhan ravi on 18 May 2019
Hi, everyone. IF Let X = [x1 x2 x3], Y = [y1 y2 y3], is there any operator to get x1y1+x2y2+x3y3?

Accepted Answer

madhan ravi
madhan ravi on 18 May 2019
sum(X .* Y)

More Answers (0)

Tags

Products

Community Treasure Hunt

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

Start Hunting!