Gelöst


Edges of a n-dimensional Hypercube
Return the number of edges on an <http://en.wikipedia.org/wiki/Hypercube _n_-dimensional hypercube> (with an integer n &ge; 0). ...

mehr als 5 Jahre vor

Gelöst


Which doors are open?
There are n doors in an alley. Initially they are all shut. You have been tasked to go down the alley n times, and open/shut the...

mehr als 5 Jahre vor

Gelöst


Kepler's Equation
Solve <http://en.wikipedia.org/wiki/Kepler's_equation Kepler's Equation>. Note that the solution is rounded down to 5 decima...

mehr als 5 Jahre vor

Gelöst


Sum sum!!!
Sum the numbers from 1 to n

mehr als 5 Jahre vor

Gelöst


Triangle???
Calculate the circumference of an equilateral triangle with x

mehr als 5 Jahre vor

Gelöst


easy problem
Find the last element of the array

mehr als 5 Jahre vor

Gelöst


Find the max element of the array
Find the max element of the array

mehr als 5 Jahre vor

Gelöst


Find hen's weight.
If hen weights x kilos on two legs, how much does it weights on one leg? Output the result.

mehr als 5 Jahre vor

Gelöst


find the height

mehr als 5 Jahre vor

Gelöst


PIN code

mehr als 5 Jahre vor

Gelöst


Insert zeros II

mehr als 5 Jahre vor

Gelöst


Double the length of the vector

mehr als 5 Jahre vor

Gelöst


De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...

mehr als 5 Jahre vor

Gelöst


Love triangles
Given a vector of lengths [a b c], determines whether a triangle with non-zero area (in two-dimensional Euclidean space, smarty!...

mehr als 5 Jahre vor

Gelöst


2 b | ~ 2 b
Given a string input, output true if there are 2 b's in it, false if otherwise Examples: 'Macbeth' -> false 'Publius Cor...

mehr als 5 Jahre vor

Gelöst


Is this matrix orthogonal?
Given a square matrix, a, determine whether it is orthogonal. INPUT: a, a n x n matrix OUTPUT: true or false

mehr als 5 Jahre vor

Gelöst


Factorize uniquely! (★★)

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


Find out total non zero element of matrix
Find out Non zero element of matrix A=magic(5) 17 24 1 8 15 23 5 7 14 16 4 6...

mehr als 5 Jahre vor

Gelöst


Product of Array
Given an array of numbers. Get the product of the array.

mehr als 5 Jahre vor

Gelöst


Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

mehr als 5 Jahre vor

Gelöst


Remove All elements less than 5
Given an input vector x, remove all elements of x less than 5 . Example: Input x = [ 1 2 5 7 3 ] Output y is [ 5 7 ...

mehr als 5 Jahre vor

Gelöst


Is it column vector?
Is it column vector? Check vector for column vector without using iscolumn function.

mehr als 5 Jahre vor

Gelöst


Log of a number
Write a script that will give the log of x as output.

mehr als 5 Jahre vor

Gelöst


Indexed Probability Table
This question was inspired by a Stack Overflow question forwarded to me by Matt Simoneau. Given a vector x, make an indexed pro...

mehr als 5 Jahre vor

Gelöst


Modulo with 5

mehr als 5 Jahre vor

Gelöst


Convert given decimal number to binary number.
Convert given decimal number to binary number. Example x=10, then answer must be 1010.

mehr als 5 Jahre vor

Gelöst


Remove NaN ?
input -> matrix (n*m) with at least one element equal to NaN; output -> matrix(p*m), the same matrix where we deleted the enti...

mehr als 5 Jahre vor

Mehr laden