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.

Categorías

Más información sobre Characters and Strings en Centro de ayuda y File Exchange.

Preguntada:

el 27 de Sept. de 2016

Respondida:

el 27 de Sept. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by