How to find the mean of data contained in a column of a table?
25 次查看(过去 30 天)
显示 更早的评论
i want the mean of the values stored in a column of a table. how can i do that?
For example :
1 11
2 22
3 33
4 44
5 55
is the column data. how to find mean of this both columns and store them in a variable.
0 个评论
采纳的回答
更多回答(1 个)
Azzi Abdelmalek
2014-1-28
编辑:Azzi Abdelmalek
2014-1-28
A=[1 11; 2 22;3 33;4 44;5 55]
out=mean(A)
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!