How can I total no. particular parameter of certain column?
1 次查看(过去 30 天)
显示 更早的评论
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
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.
采纳的回答
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!