A résolu


Switch matrix to a column vector
for e.g. x = [1 2 3 4] y = 1 3 2 4

presque 11 ans il y a

A résolu


calculate linear convolution two vectors
for e.g in: a = [1 2 3] b = [4 5 6] out: y = [4 13 28 27 18]

presque 11 ans il y a

A résolu


Number of Horns on a unicorn!
Calculate the number of horns on a *unicorn*! And I'm talking about a unicorn with not more than one horn on it!

presque 11 ans il y a

A résolu


Who is my love
Wirite name my honey to x

presque 11 ans il y a

A résolu


Do Fast Fourier Transformation
Example Fast Fourier Transformation from vector [2,1]) ans = 3 1

presque 11 ans il y a

A résolu


Walk on water
There is only one man who walked on water.

presque 11 ans il y a

A résolu


The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

presque 11 ans il y a

A résolu


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

presque 11 ans il y a

A résolu


Number of odd and even elements within matrix
Input(m) - any matrix with integers Output(n) - n(1)=number of odd elements, n(2)=number of even elements Example: * m=...

presque 11 ans il y a

Problème


Number of odd and even elements within matrix
Input(m) - any matrix with integers Output(n) - n(1)=number of odd elements, n(2)=number of even elements Example: * m=...

presque 11 ans il y a | 1 | 148 solveurs

A résolu


How many digits are there?
Input(s) - any string Output(n) - number of digits within string s

presque 11 ans il y a

Problème


How many digits are there?
Input(s) - any string Output(n) - number of digits within string s

presque 11 ans il y a | 1 | 215 solveurs

A résolu


Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area

presque 11 ans il y a

Problème


Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area

presque 11 ans il y a | 5 | 465 solveurs

A résolu


Calcucate area of square
calcutae area for example 1*1=2 ...

presque 11 ans il y a

A résolu


area of triangle
h=5 and x

presque 11 ans il y a

A résolu


to the power
fix code

presque 11 ans il y a

A résolu


Is the input divisible by 3?
Return true if the input is divisible by 3 and false if not.

presque 11 ans il y a

A résolu


say "hi"
say "hi"

presque 11 ans il y a

A résolu


length of vector
give a length of vector

presque 11 ans il y a

A résolu


the fastest driver
the fastest driver

presque 11 ans il y a

Problème


Mean and standard deviation of times in string
Input(t) - cell of strings with times in format 'min:sec.ms' Output([m, s]) - two strings with mean and standard deviation wi...

presque 11 ans il y a | 1 | 59 solveurs

A résolu


Make a vector of prime numbers
Input(n) - length of vector with prime numbers Output(v) - vector of prime numbers Example: * n=1; v=2 * n=3; v=[2 3 5...

presque 11 ans il y a

Problème


Make a vector of prime numbers
Input(n) - length of vector with prime numbers Output(v) - vector of prime numbers Example: * n=1; v=2 * n=3; v=[2 3 5...

presque 11 ans il y a | 5 | 627 solveurs

A résolu


Sort (high on middle, low on ends)
Sort the vector of numbers in order low-high-low. Even numbers appear in ascending order on the left and odd numbers appear in d...

presque 11 ans il y a

Problème


Can I make a right triangle ?
Input(a) - is vector with any amount of values. Interpreted as legths of sides. Output(b): * Is true if there are any 3 va...

presque 11 ans il y a | 0 | 61 solveurs

A résolu


Can I make a right triangle ?
Input(a) - is vector with any amount of values. Interpreted as legths of sides. Output(b): * Is true if there are any 3 va...

presque 11 ans il y a

A résolu


Vector of numbers divisible by 3
* Input(n) - any integer * Output(v) - vector with numbers divisible by 3(exept 0) starting from n to 0 Examples: * n=6...

presque 11 ans il y a

Problème


Vector of numbers divisible by 3
* Input(n) - any integer * Output(v) - vector with numbers divisible by 3(exept 0) starting from n to 0 Examples: * n=6...

presque 11 ans il y a | 0 | 145 solveurs

A résolu


Relative ratio of "1" in binary number
Input(n) is positive integer number Output(r) is (number of "1" in binary input) / (number of bits). Example: * n=0; r=...

presque 11 ans il y a

Charger plus