How to get matrix weighted average

2 views (last 30 days)
Suppose i have matrix A=[1;2;3]. I want the answer as = [1/6;2/6;3/6]

Accepted Answer

KALYAN ACHARJYA
KALYAN ACHARJYA on 24 Sep 2019
Edited: KALYAN ACHARJYA on 24 Sep 2019
A=[1;2;3];
result=A./6
or
result=A/6

More Answers (0)

Community Treasure Hunt

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

Start Hunting!