How can I total no. particular parameter of certain column?

1 回表示 (過去 30 日間)
Et
Et 2015 年 9 月 3 日
コメント済み: Rena Berman 2020 年 10 月 12 日
I want to collect data from a table. There are various parameters which I should count number of a parameter at one column with a limitation. parameter is no. of motorcycles with speed limit of 80km in the column of speed.
  2 件のコメント
Stephen23
Stephen23 2020 年 6 月 14 日
Original question by Hamed Abshari on 3rd September 2015, retrieved from Google Cache:
"How can I total no. particular parameter of certain column?"
I want to collect data from a table. There are various parameters which I should count number of a parameter at one column with a limitation. parameter is no. of motorcycles with speed limit of 80km in the column of speed.
Rena Berman
Rena Berman 2020 年 10 月 12 日
(Answers Dev) Restored edit

サインインしてコメントする。

採用された回答

Purushottama Rao
Purushottama Rao 2015 年 9 月 3 日
if the column wit speed data is denoted as s then use
sum(s>80)
which gives the desired value

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeWorkspace Variables and MAT-Files についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by