Count
版本 1.0.0.0 (359 字节) 作者:
Richard Medlock
Counts the number elements in a specified vector that match a specified criteria.
7.0K 次下载
更新时间
2003/4/28
无许可证
Count(A,B)
COUNT (A,B)
Counts the number of elements in A that match the criteria specified in B.
Example:
Data = [1 2 3 4 3 2 7 6 9 1 1 2 5 9 9];
Count(Data,'==9')
ans =
3
引用格式
Richard Medlock (2024). Count (https://www.mathworks.com/matlabcentral/fileexchange/3327-count), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R13
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Test Scripts 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |