Solved


Connect Four: find winning move
Inspired by <http://www.mathworks.com/matlabcentral/cody/problems/90-connect-four-win-checker this problem>... <http://en.wik...

11 years ago

Solved


Pentago: find winning move
<http://en.wikipedia.org/wiki/Pentago Pentago> is a challenging two-player strategy game. The objective is to be the first playe...

11 years ago

Solved


Dudeney Numbers: Numbers which are the cube of their decimal sum
From Wikipedia: _A Dudeney number is a positive integer that is a perfect cube such that the sum of its decimal digits is equa...

11 years ago

Solved


Factorions: Numbers that equal the sum of the factorials of their digits
From Wikipedia: _A factorion is a natural number that equals the sum of the factorials of its decimal digits_ For example: ...

11 years ago

Solved


BLOCK x3 (Version 3)
An extension to problems <http://www.mathworks.com/matlabcentral/cody/problems/2451-block-x3-version-1/ 2451> (by me) and <http:...

11 years ago

Solved


BLOCK x3 (Version 2)
An extension to problem 2451 ( <https://www.mathworks.com/matlabcentral/cody/problems/2451-block-x3-version-1> ). It is based...

11 years ago

Solved


Create all combinations of vectors
This function exists in the Neural Network Toolbox but is not available in Cody. Can you write such a function? See <http://...

11 years ago

Solved


AVIRIS Inscribed Rectangle Bit Mask - Speed Test
The AVIRIS data sometimes is provided uncropped. This creates edge regions with values of "-50". Shown is AVIRIS Moffett Field i...

11 years ago

Problem


BLOCK x3 (Version 3)
An extension to problems <http://www.mathworks.com/matlabcentral/cody/problems/2451-block-x3-version-1/ 2451> (by me) and <http:...

11 years ago | 1 | 10 solvers

Solved


BLOCK x3 (Version 1)
<https://play.google.com/store/apps/details?id=com.noodlecake.blockblock BLOCK x3> is a simple, fun and relaxing puzzle game. ...

11 years ago

Solved


Change the first and last diagonal element of the identity matrix to zero
Starting with the identity matrix, change first and last diagonal element to zero. Example If n=5 A = 0 0 ...

11 years ago

Solved


Bleed non-zeros to the right using REGEXP, and that sort of cheatcodess...
This one is quite similar to <http://www.mathworks.nl/matlabcentral/cody/problems/1998-bleed-non-zeros-to-the-right>. But thi...

11 years ago

Solved


Image Processing 003: Interferometer Data Interpolation
This Challenge is to correct a 2-D Interferometer data set for drop-outs. Interferometer data is notorious for drop-outs whic...

11 years ago

Solved


Bleed non-zeros to the right
What a title! Yet, it says what I mean. You get a vector, some values and a lot of zeroes. Every zero is replaced by the firs...

11 years ago

Solved


Simulating the selection of a state with given probabilities
Lets say we have 3 different states [1,2,3] with the probabilities of occurrences of each state is given as [0.5 0.2 0.3]. Which...

11 years ago

Solved


Best Square-Shaped Grid for Subplot
If you have x number of plots, find the optimum 'm' number of rows and 'n' number of columns for subplotting where the overall f...

11 years ago

Solved


AVIRIS Hyperspectral Bit Mask
The AVIRIS data sometimes is provided uncropped. This creates edge regions with values of "-50". Shown is AVIRIS Moffett Field i...

11 years ago

Solved


Diagonal of a Spiral Matrix
Write a function that will return same output as diag(spiral(n)). The only exception is that spiral and diag functions are not a...

11 years ago

Solved


Order of things - 2
This problem is closely related to <http://www.mathworks.nl/matlabcentral/cody/problems/2189-order-of-things-1 Problem 2189, Ord...

11 years ago

Solved


Order of things - 1
Let's assume you have a number of calculations to perform, that depend on each other. E.g. 'A' can be calculated, once the outco...

11 years ago

Solved


Case-insensitive Character Detection
Find the index of a particular character in a string ignoring case. Example Input: x = 'aAbhhfdf' n = 'a' ...

11 years ago

Solved


Max Change in Consecutive Elements
If an array is given as input then find the index of consecutive elements that represent maximum change. Example: Input ...

11 years ago

Solved


find the relation...
if given input is 1, output is 4. if input is 55, output is 3136.

11 years ago

Solved


self description 2.0
New (and way easier) hacking problem built upon <http://www.mathworks.com/matlabcentral/cody/problems/1969 Alfonso's problem 196...

11 years ago

Solved


Matrix Generation.
if input n =1, generate a matrix y = [1]

11 years ago

Solved


Lucy posits that if a person were able
Lucy posits that if a person were able to somehow assess 100 percent of his or her brain capacity, [url=http://www.wakdanfc....

11 years ago

Solved


Optimally fill a container with elements of different sizes
Given a row vector V of different numerical values and a size limit L, return a 1x2 vector A, containing (a) the largest sum of ...

11 years ago

Solved


Dealfun (1.0)
*Short description.* Write a function _dealfun_: [y1,y2,...,yn]=dealfun(fhandle,x1,x2,...,xn) which evaluates the f...

11 years ago

Solved


Mean ignoring NaNs
Define a function that behaves in the same way as mean(x) and mean(x,d) except that it ignores NaNs (unless all of the values be...

11 years ago

Solved


Find the area of a rectangle if length of the diagonal is given.
if length of a diagnonal in rectangle is 5. Its area is 12.

11 years ago

Load more