i have two number i want choose one of them randomly!
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
fatemeh
am 29 Dez. 2013
Kommentiert: fatemeh
am 29 Dez. 2013
i have two string number i want choose one of them randomly can you help me please?
0 Kommentare
Akzeptierte Antwort
Azzi Abdelmalek
am 29 Dez. 2013
Bearbeitet: Azzi Abdelmalek
am 29 Dez. 2013
str={'10' '20'}
idx=randi(2)
out=str(idx)
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu String Parsing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!