Finding mean of data in array inside another array
显示 更早的评论
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
采纳的回答
更多回答(1 个)
Jalal Khan
2023-12-12
1 个投票
cellfun(@mean,--) applies the mean function to each cell of the cell array and returns a numeric array containing the mean for each cell.
类别
在 帮助中心 和 File Exchange 中查找有关 Data Types 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!