how do you ask matlab for a random word from dictionary?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
randWord=randi(length(dictionary));
i tried using the code above and it gives me number instead of a word from the dictionary
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Creating and Concatenating Matrices 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!