Creating a randomly generated 4 character string (A-Z)

So I'm trying to make the computer guess a word that I have given. It essentially has to randomly guess a 4 character long string (A-Z). Basically a guessing game with the computer guessing the word that I picked. Any help would be appreciated. I'm mainly stuck on the part where it generates a random string as it's guess.

回答 (1 件)

カテゴリ

ヘルプ センター および File ExchangeCharacters and Strings についてさらに検索

質問済み:

2016 年 9 月 27 日

回答済み:

2016 年 9 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by