MATLAB Answers

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

1 view (last 30 days)
Et
Et on 3 Sep 2015
Commented: Rena Berman on 12 Oct 2020
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 Comments

Sign in to comment.

Accepted Answer

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

More Answers (0)

Community Treasure Hunt

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

Start Hunting!