Solved

Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.

Submit your answer to this problem a multiple of 5 seconds after the hour. Your answer is irrelevant; the only thing that matte...

5 months ago

Solved

Basic electricity in a dry situation

⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ &#...

5 months ago

Solved

Combined Ages 2 - Symmetric, n ≥ 3

Following on <http://www.mathworks.com/matlabcentral/cody/problems/42382-combined-ages-1-symmetric-n-3 Combined Ages 2>, you wil...

5 months ago

Solved

Determine if input is a valid AHP evaluation matrix

Input is a matrix. Output is a true or false statement (1 or 0). Return true if input is a valid Analytic Hierarchy Process eval...

5 months ago

Solved

Projector Matrix

Write a function to determine whether or not the matrix is a projector. Projector matrices are defined as P^2 = P.

5 months ago

Solved

Orthonormal matrix

You decide whether any given matrix is an orthonormal matrix or not. If each column in a matrix is perpendicular to the other...

5 months ago

Solved

System of equations

Find a solution to a system of equations represented by a |n| by |n+1| matrix. For instance, [ 2 0 4; => 2*x = 4 ...

5 months ago

Solved

Combined Ages 1 - Symmetric, n = 3

You have probably seen the common riddle wherein combined ages are provided and you must determine the individual ages. For exam...

5 months ago

Solved

Column norms of a matrix

Given a matrix M, return a vector y such that for each k y(k)=norm(M(:,k)) (y(k) is the Euclidean norm of the k-th col...

5 months ago

Solved

Solve the set of simultaneous linear equations

Given this pair of simultaneous linear equations: 2x + 3y = 23 3x + 4y = 32 Find the solution set (x,y)

5 months ago

Solved

Is A the inverse of B?

Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

5 months ago

Solved

Rotate Matrix @180 degree

Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

5 months ago

Solved

Square root

Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

5 months ago

Solved

Calculate the average value of the elements in the array

Calculate the average value of the elements in the array

5 months ago

Solved

the average value of the elements

Calculate the average value of the elements in the array

5 months ago

Solved

Exponents in Factorials

It's time to get excited about numbers!!! Well, we're just dealing with factorials here, but it's still a good reason to get ex...

5 months ago

Solved

Find the inverse permutation

Given a permutation vector perm (a vector of n elements containing all the elements from 1 to n in some order), return the permu...

5 months ago

Solved

So many choices

For inputs _n_ and _k_ (in that order), output the number of ways that k objects can be chosen from amongst n distinct objects. ...

5 months ago

Solved

Lowest sum from a group of digits

Hi there. It's James's daughter here again, and my third grade math teacher is up to her old tricks. This time, she's giving u...

5 months ago

Solved

Maximum sum from any 2 numbers with a variable number of inputs

Given a variable number of inputs, combine any 2 numbers from the inputs and output the maximum sum the combinations can generat...

5 months ago

Solved

Red and green towers

Frankie has a large number of wooden cubes, painted in red and green. He is building little towers with his cubes, by stacking t...

5 months ago

Solved

A (wrong) place for everything, and everything in its (wrong) place

You have an equal number of cups and balls, each labelled from one to N. You randomly place one ball in each cup. Determine th...

5 months ago

Solved

Numbered lottery balls into cells

You are running a lottery, and have a number of different balls numbered 1 to N. Your job is to figure out how many different w...

5 months ago