NUMBER OF OCCURRENCE OF AN ELEMENT IN AN ARRAY

1 visualización (últimos 30 días)
vikas
vikas el 29 de Abr. de 2012
Is there any code to find the number of occurrence of an element in an array
for eg: A=[1,2,3,4,2,3,5,6]
here 2 and 3 have repeated twice and all other elements have repeated once.
How can i get this information ?
Kindly Help !

Respuestas (1)

Matt Kindig
Matt Kindig el 29 de Abr. de 2012

Categorías

Más información sobre Images en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by