Solved


Number Puzzle - 044

21 days ago

Solved


Beat the test suite if you can :)
Solve this problem based on clues in the test suite.

21 days ago

Solved


Number Puzzles - 003
Find six non-zero integers a, b, c, d, e, and f which satisfy the following equations: All six integers must be different. Th...

21 days ago

Solved


Number Puzzle - 106

21 days ago

Solved


Number Puzzle - 112

21 days ago

Solved


Number Puzzle - 107
Let a be an integer and b is equal to a+2. Let c be an integer formed by concatenating a and b. Give examples of two unique a fo...

21 days ago

Solved


Number Puzzle - 038

21 days ago

Solved


Number Puzzle - 031

21 days ago

Solved


Number Puzzles - 008

21 days ago

Solved


Number Puzzle - 068

21 days ago

Solved


Consecutive Prime Numbers

21 days ago

Solved


Unique: Speed Enhancement for uint(8,16,32)
This Speed Performance Challenge is to optimize Unique for processing uint8/uint16/uint32 variables. *Input:* A (column vecto...

21 days ago

Solved


Number Puzzle - 057

21 days ago

Solved


Number Puzzle - 095

21 days ago

Solved


Number Puzzle - 102

21 days ago

Solved


Number Puzzle - 105

21 days ago

Solved


Number Puzzle - 099

21 days ago

Solved


Closely related?
Given a function past_records() that will report blood sugar level of two twin brothers some random number of days ago. For exam...

21 days ago

Solved


Find the 9's Complement
Find the 9's complement of the given number. An example of how this works is <http://electrical4u.com/9s-complement-and-10s-c...

22 days ago

Solved


Construct a "diagAdiag" matrix
Construct a matrix whose elements begin from 1 and end at n^2 with the order of arrangement as shown below: For: n = 4 ...

22 days ago

Solved


Block average ignoring NaN values
Given a matrix, calculate the block average of each disjoint sub-matrix while ignoring *NaN* values. Assume that the size of the...

22 days ago

Solved


Block average
Given a matrix, calculate the block average of each disjoint sub-matrix of the same size. Assume that the size of the matrix alo...

22 days ago

Solved


Cookie Cutters
Given a larger and smaller matrix, perform element-by-element multiplication on the smaller matrix and a sub-matrix of the large...

22 days ago

Solved


Matrix to 3-Column Matrix
Consider a matrix *A* such as A = [1 2 3 3 4 5 6; 2 3 4 5 6 7 8]; Can you convert this matrix to a three-column ...

22 days ago

Solved


Crunch that matrix!
You are given an M x N matrix. Write a script that will compress this matrix into an M x (N/3) matrix, where each of the terms ...

22 days ago

Solved


Cumulative minimum of an array
Find the cumulative minimum of an array without using the built-in function <http://www.mathworks.com/help/matlab/ref/cummin.htm...

22 days ago

Solved


Happy 2013...
Happy 2013, everyone! An interesting tidbit about 2013 is that it is the first year since 1987 to contain four different digits...

22 days ago

Solved


Find last non-zero in a given dimension
You are given a logical matrix *BW* _of any dimension_, and a dimension *dim*. You need to find the locations of the last non-ze...

22 days ago

Solved


Find longest run
Write a function longest_run that takes as input an array of 0's and 1's and outputs the length and index of the longest consecu...

22 days ago

Load more