How can I total no. particular parameter of certain column?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Et
am 3 Sep. 2015
Kommentiert: Rena Berman
am 12 Okt. 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 Kommentare
Stephen23
am 14 Jun. 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.
Akzeptierte Antwort
Purushottama Rao
am 3 Sep. 2015
if the column wit speed data is denoted as s then use
sum(s>80)
which gives the desired value
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Workspace Variables and MAT-Files finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!