Finding mean of data in array inside another array
Ältere Kommentare anzeigen
I copied data into a new variable called X, inwhich inside X there are 1851x1 array. Inside each array there are several number of data of array inside all 1851x1 array. How can I find the mean of each 1851 data. Thanks very much
Akzeptierte Antwort
Weitere Antworten (1)
Jalal Khan
am 12 Dez. 2023
1 Stimme
cellfun(@mean,--) applies the mean function to each cell of the cell array and returns a numeric array containing the mean for each cell.
Kategorien
Mehr zu Data Types finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!