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,'%...

bijna 13 jaar 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...

bijna 13 jaar 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 =...

bijna 13 jaar 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 ...

bijna 13 jaar 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(...

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

bijna 13 jaar 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...

bijna 13 jaar 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 ...

bijna 13 jaar 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.

bijna 13 jaar ago | 2 answers | 0

2

answers

Answered
Index exceeds matrix dimensions
Thanks for the advice guys.

ongeveer 13 jaar ago | 0

Question


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

ongeveer 13 jaar ago | 3 answers | 0

3

answers