Azzera filtri
Azzera filtri

i have two number i want choose one of them randomly!

6 visualizzazioni (ultimi 30 giorni)
i have two string number i want choose one of them randomly can you help me please?

Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 29 Dic 2013
Modificato: Azzi Abdelmalek il 29 Dic 2013
str={'10' '20'}
idx=randi(2)
out=str(idx)

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by