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 CenterFile Exchange에서 Workspace 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