Solved


Make an anonymous function that has variable output
Make a anonymous function that has variable output. f = @(x)... the following equation→equation(s) as followed has(ve) ...

7 years ago

Problem


Make an anonymous function that has variable output
Make a anonymous function that has variable output. f = @(x)... the following equation→equation(s) as followed has(ve) ...

7 years ago | 2 | 32 solvers

Solved


Testing Problem Creation
This is where MATLAB based question will be

7 years ago

Solved


Testing for randomness: uniform distribution of integers
On Cody several problems have been set up asking players to generate one or more 'random' numbers. Usually they are asking for ...

7 years ago

Solved


Testing for randomness: uniform distribution of real numbers (distribution checking)
You will be presented with a variety of sequences of real numbers. Your job is to answer the question: "Is this a uniformly di...

7 years ago

Solved


Number Power
Raise a number to itself.

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

7 years ago

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

7 years ago

Solved


Modify subscripts
MATLAB supports object-oriented programming. Let's take an advantage of it in cody. This problem starts <http://uk.mathworks....

8 years ago

Solved


SLP Calculation
The SLP Calculation Challenge is to implement SLP sequences and output the result as a string. SLP, Straight Line Program, creat...

8 years ago

Solved


Count the Number of Undirected Cycles in a Graph
Given a symmetric adjacency matrix, determine the number of unique *undirected* cycles. For example, the graph represented by...

8 years ago

Solved


Graph Algorithms - 1 : Length of the largest closed path
An undirected simple graph is given as the form of an adjacency matrix. Find the length of the largest closed path (one that sta...

8 years ago

Solved


Find the maximal cliques in an undirected graph
This is a variant of a <http://www.mathworks.com/matlabcentral/cody/problems/2646-determine-the-number-of-maximal-cliques-in-an-...

8 years ago

Solved


Determine the number of maximal cliques in an undirected graph
In an undirected graph, a clique is a subset of vertices that are fully connected, i.e. there is an edge between all pairs of ve...

8 years ago

Solved


PACMAT - G03 Ghosts use minimum path to PACMAT; 3 Lives
The Classic PACMAN game brought to Cody. PACMAT requires clearing the board of Yellow Dots while not bumping into the wanderi...

8 years ago

Solved


Genome Sequence 002: Introductory DNA Sequencing (Flipped Segments)
This Challenge series will evolve the complexity of Genome DNA Sequencing. <http://en.wikipedia.org/wiki/Genome DNA Sequencing> ...

8 years ago

Solved


USC Spring 2013 ACM: Relief Supplies
This Challenge is to solve the <http://contest.usc.edu/index.php/Spring13/Home USC Spring 2013 ACM Contest> Problem A, Relief Su...

8 years ago

Solved


Genome Sequence 001: Introductory DNA Sequencing
This Challenge series will evolve the complexity of Genome DNA Sequencing. <http://en.wikipedia.org/wiki/Genome DNA Sequencing> ...

8 years ago

Solved


Battleship_010 : (TM) Classic Game - Methodical Bot (100 move max)
The Classic Battleship(TM) game implemented between a computer bot and a player's bot. <http://en.wikipedia.org/wiki/Battlesh...

8 years ago

Solved


Battleship_000 : (TM) Classic Game - Easy computer bot
The Classic Battleship(TM) game implemented between a computer bot and a player's bot. <http://en.wikipedia.org/wiki/Battlesh...

8 years ago

Solved


Lights Out 6 - 5x5, 13 moves
<https://en.wikipedia.org/wiki/Lights_Out_(game) Lights Out> is a logic game wherein all lights need to be turned off to complet...

8 years ago

Solved


Project Euler 249: Prime Subset Sums
Inspired by Problem 249 of Project Euler. <https://projecteuler.net/problem=249> Let S = {2, 3, 5, ...} be the set of prime ...

8 years ago

Solved


GJam: 2013 Rd1a Bullseye Painting - Large Numbers
<http://code.google.com/codejam/contests.html Google Code Jam> 2013 Round 1a Bullseye challenge is to determine how many full ri...

8 years ago

Solved


Find the Connecting Path
Here is a matrix x x = [7 6 8 5 7 2 4 5 1 3 0 0 0 7 7 7 7 7 0 0 0 0 0 0 0 0 0 0 0 5 5 5 5 5 0 0 0 0 0 0...

8 years ago

Solved


GJam 2014 Rd 1c: Train Cars
This Challenge is derived from <http://code.google.com/codejam/contest/3004486/dashboard#s=p1 GJam 2014 Rd 1c: Reordering Train ...

8 years ago

Solved


Lights Out 5 - 5x5, 10 moves
<https://en.wikipedia.org/wiki/Lights_Out_(game) Lights Out> is a logic game wherein all lights need to be turned off to complet...

8 years ago

Solved


What can you get for exactly amount of money(harder)
Inspired by "Problem 42996. what can you get for exactly amount of money" <https://ww2.mathworks.cn/matlabcentral/cody/problems...

8 years ago

Solved


OXO counting
Count the number of occurrences of "OXO" in rows, columns, diagonals and anti-diagonals. Example: >> board = ['OOX' ...

8 years ago

Solved


Big Integer Sqrt
You will be given a big integer, you should return the square root of it. input: '16' output: '4' have fun!

8 years ago

Problem


Big Integer Sqrt
You will be given a big integer, you should return the square root of it. input: '16' output: '4' have fun!

8 years ago | 1 | 11 solvers

Load more