Count

バージョン 1.0.0.0 (359 Bytes) 作成者: Richard Medlock
Counts the number elements in a specified vector that match a specified criteria.
ダウンロード: 7K
更新 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 AnswersTest Scripts についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0