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?

回答 (0 件)

この質問は閉じられています。

質問済み:

2015 年 9 月 7 日

閉鎖済み:

2015 年 9 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by