How to get matrix weighted average

1 次查看(过去 30 天)
Suppose i have matrix A=[1;2;3]. I want the answer as = [1/6;2/6;3/6]

采纳的回答

KALYAN ACHARJYA
KALYAN ACHARJYA 2019-9-24
编辑:KALYAN ACHARJYA 2019-9-24
A=[1;2;3];
result=A./6
or
result=A/6

更多回答(0 个)

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by