Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. So if input x is x = [1 2 3 5] then the output y should be 11.

4年以上 前

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. So if input x is x = [1 2 3 5] then the output y should be 11.

4年以上 前

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. So if input x is x = [1 2 3 5] then the output y should be 11.

4年以上 前

factorial of a number x
Factorial of a number x

4年以上 前

Given a and b, return the sum a+b in c.

4年以上 前

ベクトルのスケーリング

4年以上 前

Say something funny
Say something funny, or not. Your solution will be (fully automatically and objectively) scored based on how clever or funny ...

4年以上 前

Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

4年以上 前

Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

4年以上 前

Sideways sum
Given natural number calculate its _population count_.

4年以上 前

Find 10's complement
Find 10's complement of a given number. An example is <http://electrical4u.com/9s-complement-and-10s-complement/ shown here>.

5年弱 前

Free passes for everyone!
_Simply return the name of the coolest numerical computation software ever_ *Extra reward* (get a _freepass_): As an addit...

5年以上 前

Periodic Table 101.
Given the atomic number (z), answer the symbol for that particular element of the <http://en.wikipedia.org/wiki/Periodic_table/ ...

6年以上 前

Basic arrays operations.
Apply element-by-element binary operation 'fun' to two arrays (A and B).

6年以上 前

Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...

6年以上 前

if Slant height of Cone(I)& hight of Cone(H) given then find radius of the Cone(R) for example I=5,h=4 then the ans R=3;

6年以上 前

Celcius to Kelvin
Convert Celsius degrees to Kelvin temperature.

6年以上 前

Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.

6年以上 前

Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

6年以上 前

Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

6年以上 前

Output any real number that is neither positive nor negative
Output any real number that is neither positive nor negative

6年以上 前

Return 'on' or 'off'
When the input is true, return 'on', otherwise, return 'off'.

7年弱 前

Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

7年弱 前

Parse string and identify specific string sequence in algebraic equation
Given a string S that defines an algebraic expression such as: S= 'X= A1 + A2*(Y1 + A3*Y3)*exp( A4*Y12 + Y1) ;' return a...

7年弱 前

Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

7年弱 前

Replace May with April
For instance, if the input is input_str = 'The flowers may bloom in April'; then the output is output_str = 'The flo...

7年弱 前

Create a function that returns an array P the same size as X and Y containing the element-by-element, four-quadrant inverse tang...

7年弱 前

Detect a number and replace with two NaN's
Write code which replaces the number 1 with two NaNs. Example X = [ 1 2 NaN 4 1 3 7 NaN 1 4 NaN 2] ...

7年弱 前

Wrapping the Tower of Pisa
The famous artist Christo Vladimirov Javacheff, who likes pizza, wants to wrap the well-known Italian tower in paper. It is a ci...

7年弱 前

Compute a dot product of two vectors x and y
x and y are input vectors, d is a number and contains their dot product

7年弱 前