photo

Antonia Davis


Active since 2016

Followers: 0   Following: 0

Statistics

MATLAB Answers

2 Questions
0 Answers

RANK
224,814
of 300,853

REPUTATION
0

CONTRIBUTIONS
2 Questions
0 Answers

ANSWER ACCEPTANCE
0.0%

VOTES RECEIVED
0

RANK
 of 21,094

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 171,319

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Discussions

AVERAGE NO. OF LIKES

Feeds

View by

Question


I am trying to write a matlab code to check a solved 9X9 sudoku problem. I can't seem to get it to work. Any ideas where I went wrong?
function valid = sudoku (m) valid = (size(m) == [9, 9]); if (~valid) fprintf('Sudoku: size must be 9x9\n'); ...

9 years ago | 1 answer | 0

1

answer

Question


I am having trouble with a problem I am working on. The code works until I get to the next step which is a menu asking if the player wants to play the same game again. I can't seem to get it to loop back to the correct spot.
|i=1 while i>=1; choice = menu('Do you want to play a game?: ','yes','no') if choice == 2 error('Program wil...

10 years ago | 1 answer | 0

1

answer