You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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
Cite As
Richard Medlock (2026). Count (https://se.mathworks.com/matlabcentral/fileexchange/3327-count), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (359 Bytes)
-
No License
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
