photo

Chris


Attivo dal 2011

Followers: 0   Following: 0

Messaggio

Statistica

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


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

oltre 12 anni fa | 4 risposte | 0

4

risposte

Domanda


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

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 12 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 12 anni fa | 2 risposte | 1

2

risposte

Domanda


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

oltre 12 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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.

oltre 12 anni fa | 2 risposte | 0

2

risposte

Risposto
Index exceeds matrix dimensions
Thanks for the advice guys.

oltre 12 anni fa | 0

Domanda


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

oltre 12 anni fa | 3 risposte | 0

3

risposte