Solved


Calculate FFT
Calculate the fft manually, without using matlab's builtin function. No cheating allowed.

2 months ago

Solved


Modular multiplicative inverse
Modular multiplicative inverse is used for _The Chinese Remainder Theorem_ and _RSA algorithm_. You can visit <http://en.wikiped...

2 months ago

Solved


Find number patterns in rows of a matrix...
So I think this may be a hard one, may be it was only hard for me! So here is what it is, I will give a matrix, with some numbe...

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

2 months ago

Solved


Text File Read: 64 bit data set
This Challenge is to read a text file that has vary large integers up to 2e18, typical for Google Code Jam. These values are wel...

2 months ago

Solved


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

2 months ago

Solved


Now 20% off!
Furloughs are hitting government workers this year. To commemorate getting one unpaid day off each week until the end of Septem...

2 months ago

Solved


Determine which fields have been modified in a structure
Given two input structures (s1, s2), determine which field values have been modified in s2 compared to s1. Your output should be...

2 months ago

Solved


Prime Sequences: AP-k Minimum Final Value
Welcome to Fun with Primes. Today we will find the Minimum Final Value AP-k sequences for n_max=3:12 given the primorial and kno...

2 months ago

Solved


Josephus Survivor
The <http://en.wikipedia.org/wiki/Josephus_problem Josephus Challenge> is to find the position that is the last remaining when e...

2 months ago

Solved


Circumcircle Points
Determine the radius of the minimum sized circle that encompasses all the points. Per <http://www.inf.ethz.ch/personal/gaertn...

2 months ago

Solved


Magic - Faro Shuffle
The Faro shuffle is the perfect interweaving of cards. Quiz: How many Faro's returns a standard 52 deck to its start? Fifty fo...

2 months ago

Solved


COUNT LETTERS
Count the number of letters in a given string. For Example: STR='The MAtlAb code'; output:T 2 H 1 E 2 M 1 A 2 L 1 B 1 C 1 O 1 D ...

2 months ago

Solved


Find the right x in a 1. order Polynomal (y = m*x+c)
Given two points in a Cartesian coordinate system, find the x-value, where polynomial of 1. order (y = m*x+c) is equal to a giv...

2 months ago

Solved


Criss-Cross: NHL - Optimize Matrix Size
Given the List of NHL Teams, fit all in a minimum area Criss-Cross with no invalid words, no duplications, and all connected. ...

2 months ago

Solved


Find the minimum element of the matrix
Example: If x = [3 9; 5 2] then y = 2

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

2 months ago

Solved


Frobenius Norm
Write your own version of Frobenius Norm without using the 'norm' function.

2 months ago

Solved


Fast Fourier transform algorithm
Your task is to implement the Fast Fourier transform algorithm, without using builtin MATLAB fft commands e.g. fft, fft2, or har...

2 months ago

Solved


Change the sign
Given a matrix x, return one with each diagonal element replaced by its absolute value and the largest element in absolute value...

2 months ago

Solved


Maximum Intra-Vector Swaps
This Challenge, based upon a contest in which Rokicki came in 2nd, is to find sequences containing 1:N that require maximum iter...

2 months ago

Solved


Disjunctive Normal Form
This problem is the companion to Problem <http://www.mathworks.com/matlabcentral/cody/problems/1484 1484>. In Boolean logic, a f...

2 months ago

Solved


Hungry Snake
Who hasn't played <http://en.wikipedia.org/wiki/Snake_%28video_game%29 the Snake game> when they were little? It's quite hard ...

2 months ago

Solved


Method of Common Differences part-2
This is the inverse problem to <http://www.mathworks.com/matlabcentral/cody/problems/1485 Problem 1485>. Problem 1485 illustra...

2 months ago

Solved


Conjunctive Normal Form
In Boolean logic, a formula is in conjunctive normal form (CNF) or clausal normal form if it is a conjunction of clauses, where ...

2 months ago

Solved


Net Present Value of a Stream of Cash Flows
Calculate the net present value of a future cash flow vector given; future cash flow vector (F) and interest rate (i) assume;...

2 months ago

Solved


Numbers at bit-boundary
Find if a number is on or below the bit-boundary, as defined below. Examples 7,9 straddle the bit-boundary at 2^3 as do 31,32 ...

2 months ago

Solved


Key Generation for Solitaire Cipher
The Solitaire Cipher by Bruce Schneier was introduced to Cody in two problems by Doug Hull: http://www.mathworks.com/matlabcent...

2 months ago

Solved


Cosine frequency doubler
Given an input vector containing a cosine wave of unknown frequency, produce an output vector of the same length containing a co...

2 months ago

Solved


USC Spring 2013 ACM: Walking on Thin Ice
This Challenge is to solve the <http://contest.usc.edu/index.php/Spring13/Home USC Spring 2013 ACM Contest> Problem E, Walking o...

2 months ago

Load more