photo

Chris


Aktiv seit 2011

Followers: 0   Following: 0

Nachricht

Statistik

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


Splitting into function files
clear clc fid = fopen('hangman.txt','r'); if fid < 0, error('Cannot open file'); end data = textscan(fid,'%...

mehr als 12 Jahre vor | 4 Antworten | 0

4

Antworten

Frage


display+string
clear clc fid = fopen('hangman.txt','r'); if fid < 0, error('Cannot open file'); end data = textscan(fid,'%s'); da...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


strings, while loop help
clear; clc; fid = fopen('hangman.txt','r'); if fid < 0, error('Cannot open file'); end data = textscan(fid,'%s'); data =...

mehr als 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


String and display help
clear all clc fid = fopen('hangman.txt', 'r'); if fid < 0, error('Cannot open file.'); end CC = textscan(fid, '%s'); C ...

mehr als 12 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


String help!?
fid = fopen('hangman.txt', 'r'); if fid < 0, error('Cannot open file.'); end CC = textscan(fid, '%s'); C = CC{1}; fclose(...

mehr als 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


String function
Trying to get the program to display if the letter is in the word. And word = any word fid = fopen('hangman.txt', 'r'); ...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


display help
I'm trying to create a program that plays a hangman game. So, how would I go about replacing the letters in the word with asteri...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Hangman game help
Quick briefing. I'm trying to create a program that will simulate a hangman game. My professor already gave me a list of words ...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Random function from a text file?
Basically, I have a text file with a bunch of words on it. I'm not sure how I can use MATLAB to randomly select one word.

mehr als 12 Jahre vor | 2 Antworten | 0

2

Antworten

Beantwortet
Index exceeds matrix dimensions
Thanks for the advice guys.

mehr als 12 Jahre vor | 0

Frage


Index exceeds matrix dimensions
clear clc count_eight=0; clear clc count_eight=0; RandStream.setDefaultStream = (RandStream('mt19937ar...

mehr als 12 Jahre vor | 3 Antworten | 0

3

Antworten