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

1 visualización (últimos 30 días)
Et
Et el 3 de Sept. de 2015
Comentada: Rena Berman el 12 de Oct. de 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 comentarios
Stephen23
Stephen23 el 14 de Jun. de 2020
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 el 12 de Oct. de 2020
(Answers Dev) Restored edit

Iniciar sesión para comentar.

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Logical en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by