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.

Kategorien

Mehr zu Characters and Strings finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 27 Sep. 2016

Beantwortet:

am 27 Sep. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by