photo

Chris


Active since 2011

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


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

12 years ago | 4 answers | 0

4

answers

Question


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

12 years ago | 1 answer | 0

1

answer

Question


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

12 years ago | 2 answers | 0

2

answers

Question


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 ...

12 years ago | 2 answers | 1

2

answers

Question


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

12 years ago | 2 answers | 0

2

answers

Question


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'); ...

12 years ago | 1 answer | 0

1

answer

Question


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...

12 years ago | 1 answer | 0

1

answer

Question


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 ...

12 years ago | 1 answer | 0

1

answer

Question


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.

12 years ago | 2 answers | 0

2

answers

Answered
Index exceeds matrix dimensions
Thanks for the advice guys.

12 years ago | 0

Question


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

12 years ago | 3 answers | 0

3

answers