Calculating number of specific value in a vector
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Majbah
le 14 Nov 2014
Réponse apportée : Chad Greene
le 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.
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Multidimensional Arrays dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!