Statistik
7 Dateien
Cody DiscussionsRANG
119
of 301.506
REPUTATION
1.074
BEITRÄGE
29 Fragen
287 Antworten
ANTWORTZUSTIMMUNG
82.76%
ERHALTENE STIMMEN
422
RANG
54 of 21.306
REPUTATION
14.961
DURCHSCHNITTLICHE BEWERTUNG
4.50
BEITRÄGE
7 Dateien
DOWNLOADS
15
ALL TIME DOWNLOADS
146604
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
1 Discussion
DURCHSCHNITTLICHE ANZAHL DER LIKES
2
Feeds
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. ...
mehr als 8 Jahre vor | 5 | 123 Lösungsvorschläge
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. ...
mehr als 8 Jahre vor | 2 | 534 Lösungsvorschläge
Problem
2048 tile game
The popular 2048 game has been implemented here: http://gabrielecirulli.github.io/2048/ Given the board like this: [2...
etwa 12 Jahre vor | 2 | 12 Lösungsvorschläge
Gelöst
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...
mehr als 12 Jahre vor
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...
mehr als 12 Jahre vor | 3 | 51 Lösungsvorschläge
Gelöst
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...
mehr als 12 Jahre vor
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...
mehr als 12 Jahre vor | 1 | 53 Lösungsvorschläge
Gelöst
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...
etwa 13 Jahre vor
Gelöst
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...
mehr als 13 Jahre vor
Gelöst
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...
mehr als 13 Jahre vor
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...
mehr als 13 Jahre vor | 1 | 15 Lösungsvorschläge
Gelöst
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...
mehr als 13 Jahre vor
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:...
fast 14 Jahre vor | 1 | 18 Lösungsvorschläge
Gelöst
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:...
fast 14 Jahre vor
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...
fast 14 Jahre vor | 12 | 690 Lösungsvorschläge
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 ...
fast 14 Jahre vor | 12 | 617 Lösungsvorschläge
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 ...
fast 14 Jahre vor | 8 | 871 Lösungsvorschläge
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...
fast 14 Jahre vor | 13 | 1096 Lösungsvorschläge
Problem
Solitaire Cipher
Implement the <http://en.wikipedia.org/wiki/Solitaire_(cipher) solitaire cipher>. Since this is from Wikipedia, I am capturin...
fast 14 Jahre vor | 9 | 269 Lösungsvorschläge
Gelöst
Solitaire Cipher
Implement the <http://en.wikipedia.org/wiki/Solitaire_(cipher) solitaire cipher>. Since this is from Wikipedia, I am capturin...
fast 14 Jahre vor
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...
fast 14 Jahre vor | 5 | 9 Lösungsvorschläge
Gelöst
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...
fast 14 Jahre vor
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...
fast 14 Jahre vor | 4 | 79 Lösungsvorschläge
Gelöst
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...
fast 14 Jahre vor
Gelöst
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...
fast 14 Jahre vor
Gelöst
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...
fast 14 Jahre vor
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> ...
fast 14 Jahre vor | 2 | 35 Lösungsvorschläge
Gelöst
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> ...
fast 14 Jahre vor
Gelöst
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...
fast 14 Jahre vor
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...
fast 14 Jahre vor | 2 | 257 Lösungsvorschläge











