Calculating number of specific value in a vector

2 ビュー (過去 30 日間)
Majbah
Majbah 2014 年 11 月 14 日
回答済み: Chad Greene 2014 年 11 月 14 日
Hi,
I have a vector A=[11 5 2 6 8 9 11 3]. I want to know how many 11 is in the vector (i.e., 2). How can I do that in MATLAB?
Thanks in advance.

採用された回答

Chad Greene
Chad Greene 2014 年 11 月 14 日

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrix Indexing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by