Average of Column in matlab.

4 visualizzazioni (ultimi 30 giorni)
Saki
Saki il 9 Apr 2024
Risposto: Voss il 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?

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Resizing and Reshaping Matrices in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by