Filter löschen
Filter löschen

Average of Column in matlab.

2 Ansichten (letzte 30 Tage)
Saki
Saki am 9 Apr. 2024
Beantwortet: Voss am 9 Apr. 2024
i have 131x324 matrix, how can i take the average of each 324 column which will give me 1 by 324 matrix?

Akzeptierte Antwort

Voss
Voss am 9 Apr. 2024
avg = mean(M,1);
where M is your matrix.

Weitere Antworten (0)

Kategorien

Mehr zu Operating on Diagonal 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