フィルターのクリア

How to find the mean of data contained in a column of a table?

20 ビュー (過去 30 日間)
kelvina
kelvina 2014 年 1 月 28 日
編集済み: A Jenkins 2014 年 1 月 28 日
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.

採用された回答

A Jenkins
A Jenkins 2014 年 1 月 28 日
編集済み: A Jenkins 2014 年 1 月 28 日
a=[1 11; 2 22; 3 33; 4 44; 5 55]
b=mean(a)
b =
3 33

その他の回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2014 年 1 月 28 日
編集済み: Azzi Abdelmalek 2014 年 1 月 28 日
A=[1 11; 2 22;3 33;4 44;5 55]
out=mean(A)

カテゴリ

Help Center および File ExchangeTables についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by