Filter löschen
Filter löschen

Calculating number of specific value in a vector

1 Ansicht (letzte 30 Tage)
Majbah
Majbah am 14 Nov. 2014
Beantwortet: Chad Greene am 14 Nov. 2014
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.

Akzeptierte Antwort

Chad Greene
Chad Greene am 14 Nov. 2014

Weitere Antworten (0)

Kategorien

Mehr zu Multidimensional Arrays finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by