photo

Doug Hull


Last seen: mer än ett år ago Active since 2011

Followers: 0   Following: 0

Formerly known as MATLABDoug during my 15 year tenure at MathWorks. Now I live in Vegas, write poker books and relieve tourists of their poker money.

Statistics

All
MATLAB Answers

29 Questions
287 Answers

File Exchange

7 Files

Cody

52 Problems
58 Solutions

RANK
118
of 300 321

REPUTATION
1 073

CONTRIBUTIONS
29 Questions
287 Answers

ANSWER ACCEPTANCE
82.76%

VOTES RECEIVED
421

RANK
54 of 20 913

REPUTATION
14 952

AVERAGE RATING
4.50

CONTRIBUTIONS
7 Files

DOWNLOADS
46

ALL TIME DOWNLOADS
146519

RANK
3 342
of 168 093

CONTRIBUTIONS
52 Problems
58 Solutions

SCORE
1 100

NUMBER OF BADGES
7

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • Cody 5th Anniversary Author
  • 12 Month Streak
  • Pro
  • Likeable
  • Famous
  • Personal Best Downloads Level 2
  • Editor's Pick
  • First Review
  • 5-Star Galaxy Level 5
  • First Submission
  • Revival Level 2
  • Knowledgeable Level 4

View badges

Feeds

View by

Problem


Is this a valid Tic Tac Toe State?
For the game of <https://en.wikipedia.org/wiki/Tic-tac-toe Tic Tac Toe> we will be storing the state of the game in a matrix M. ...

ungefär 8 år ago | 5 | 120 solvers

Problem


Is this is a Tic Tac Toe X Win?
For the game of <https://en.wikipedia.org/wiki/Tic-tac-toe Tic Tac Toe> we will be storing the state of the game in a matrix M. ...

ungefär 8 år ago | 2 | 519 solvers

Problem


2048 tile game
The popular 2048 game has been implemented here: http://gabrielecirulli.github.io/2048/ Given the board like this: [2...

mer än 11 år ago | 2 | 9 solvers

Solved


Get ranking of a combination looking for speed.
I have the numbers pulled without replacement from the set [1 2 3 4 5 6 7 8 9 10 11 12 13]; They are then ordered from least to...

ungefär 12 år ago

Problem


Get ranking of a combination looking for speed.
I have the numbers pulled without replacement from the set [1 2 3 4 5 6 7 8 9 10 11 12 13]; They are then ordered from least to...

ungefär 12 år ago | 3 | 49 solvers

Solved


Get ranking of a combination
I have the numbers pulled without replacement from the set [1 2 3 4 5 6 7 8 9 10 11 12 13]; They are then ordered from least to...

ungefär 12 år ago

Problem


Get ranking of a combination
I have the numbers pulled without replacement from the set [1 2 3 4 5 6 7 8 9 10 11 12 13]; They are then ordered from least to...

ungefär 12 år ago | 1 | 52 solvers

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

mer än 12 år ago

Solved


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

nästan 13 år ago

Solved


Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

nästan 13 år ago

Problem


Siblings of a graphics object
Given a valid, scalar, handle of a graphical object: find the set of all objects that have the same parent as the original that...

ungefär 13 år ago | 1 | 15 solvers

Solved


Siblings of a graphics object
Given a valid, scalar, handle of a graphical object: find the set of all objects that have the same parent as the original that...

ungefär 13 år ago

Problem


Implement Solitaire cipher for N long deck.
Implement the <http://en.wikipedia.org/wiki/Solitaire_(cipher) solitaire cypher>. Given a starting permutation of numbers [1:...

mer än 13 år ago | 1 | 17 solvers

Solved


Implement Solitaire cipher for N long deck.
Implement the <http://en.wikipedia.org/wiki/Solitaire_(cipher) solitaire cypher>. Given a starting permutation of numbers [1:...

mer än 13 år ago

Problem


Flag largest magnitude swings as they occur
You have a phenomenon that produces strictly positive or negative results. delta = [1 -3 4 2 -1 6 -2 -7]; Marching thr...

mer än 13 år ago | 12 | 684 solvers

Problem


How many trades represent all the profit?
Given a list of results from trades made: [1 3 -4 2 -1 2 3] We can add them up to see this series of trades made a profit ...

mer än 13 år ago | 12 | 607 solvers

Problem


Given a window, how many subsets of a vector sum positive
Given a vector: [1 0 -1 3 2 -3 1] and a window of 2, A sliding window would find: 1 + 0 = 1 0 - 1 = -1 ...

mer än 13 år ago | 8 | 862 solvers

Problem


Implement simple rotation cypher
If given a letter from the set: [abc...xyz] and a shift, implement a shift cypher. Example: 'abc' with a shi...

mer än 13 år ago | 13 | 1087 solvers

Problem


Solitaire Cipher
Implement the <http://en.wikipedia.org/wiki/Solitaire_(cipher) solitaire cipher>. Since this is from Wikipedia, I am capturin...

mer än 13 år ago | 9 | 263 solvers

Solved


Solitaire Cipher
Implement the <http://en.wikipedia.org/wiki/Solitaire_(cipher) solitaire cipher>. Since this is from Wikipedia, I am capturin...

mer än 13 år ago

Problem


Steal, Share, or Catch: Tournament of Champions
I am no longer supporting this problem. No changes will be made to put more entries in the test suite, but have fun playing any...

mer än 13 år ago | 5 | 9 solvers

Solved


Steal, Share, or Catch: Tournament of Champions
I am no longer supporting this problem. No changes will be made to put more entries in the test suite, but have fun playing any...

mer än 13 år ago

Problem


Steal, Share, or Catch
You, I, and a few other characters are going to play a game of *Steal, Share or Catch*. We are going to play it 10,000 times vs...

mer än 13 år ago | 4 | 79 solvers

Solved


Steal, Share, or Catch
You, I, and a few other characters are going to play a game of *Steal, Share or Catch*. We are going to play it 10,000 times vs...

mer än 13 år ago

Solved


Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...

mer än 13 år ago

Solved


Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

mer än 13 år ago

Problem


Cumulative probability of finding an unlikely combination
This is a supplemental problem to the <http://www.mathworks.com/matlabcentral/cody/problems/621-cryptomath-addition CryptoMath> ...

mer än 13 år ago | 2 | 33 solvers

Solved


Cumulative probability of finding an unlikely combination
This is a supplemental problem to the <http://www.mathworks.com/matlabcentral/cody/problems/621-cryptomath-addition CryptoMath> ...

mer än 13 år ago

Solved


Getting the absolute index from a matrix
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to get the <http://www.ma...

mer än 13 år ago

Problem


Getting the absolute index from a matrix
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to get the <http://www.ma...

mer än 13 år ago | 2 | 251 solvers

Load more