selecting a random element from vector and ... in matlab
Afficher commentaires plus anciens
I have 3 problem in matlab:
- selecting a random element from vector with probability proportional to the occurrence frequency of this element in the vector?
- selecting the most popular element from vector(the most occurrence frequency of this element in the vector)?
- converting a vector into a probability distribution of elements.If the probability of seeing a particular element is less than a given threshold r=0.5, this element is deleted from vector.
Thanks a lot.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Uniform Distribution (Continuous) dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!