Effacer les filtres
Effacer les filtres

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

6 vues (au cours des 30 derniers jours)
fatemeh
fatemeh le 29 Déc 2013
Commenté : fatemeh le 29 Déc 2013
i have two string number i want choose one of them randomly can you help me please?

Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 29 Déc 2013
Modifié(e) : Azzi Abdelmalek le 29 Déc 2013
str={'10' '20'}
idx=randi(2)
out=str(idx)

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by