How to get matrix weighted average

2 Ansichten (letzte 30 Tage)
Supriya Gain
Supriya Gain am 24 Sep. 2019
Bearbeitet: KALYAN ACHARJYA am 24 Sep. 2019
Suppose i have matrix A=[1;2;3]. I want the answer as = [1/6;2/6;3/6]

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Resizing and Reshaping Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by