Count
Versione 1.0.0.0 (359 Byte) da
Richard Medlock
Counts the number elements in a specified vector that match a specified criteria.
7K download
Aggiornato
28 apr 2003
Nessuna licenza
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
Cita come
Richard Medlock (2024). Count (https://www.mathworks.com/matlabcentral/fileexchange/3327-count), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R13
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su Test Scripts in Help Center e MATLAB Answers
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 |