How to select one random element from the structure containing 2 integer array??

I have structure peer1 with 2 arrays value[] and age[], I want to select 1 random element from value array and store it in variable p. I need a help on this?

Réponses (0)

Cette question est clôturée.

Clôturé :

le 8 Sep 2015

Community Treasure Hunt

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

Start Hunting!

Translated by