A résolu


Duplicate all elements in the array
Duplicate all elements in the array

plus de 3 ans il y a

A résolu


Converts numbers into characters
Converts numbers into characters

plus de 3 ans il y a

A résolu


calculate the length of matrix
input 1 array, calculate the length

plus de 3 ans il y a

A résolu


to the 2 all elements
to the 2 all elements

plus de 3 ans il y a

A résolu


the average value of the elements
Calculate the average value of the elements in the array

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


Solve the equation. Find X.

plus de 3 ans il y a

A résolu


Area of Ellipse

plus de 3 ans il y a

A résolu


Determine if input is a perfect number
A <http://en.wikipedia.org/wiki/Perfect_number/ perfect number> occurs whent the sum of all divisors of a positive integer, exce...

plus de 3 ans il y a

A résolu


unsolvable

plus de 3 ans il y a

A résolu


reverse the order and combine a matrix

plus de 3 ans il y a

A résolu


matrix rows and columns

plus de 3 ans il y a

A résolu


matrix rows and columns

plus de 3 ans il y a

A résolu


Summy's even sum

plus de 3 ans il y a

A résolu


Summy's odd sum

plus de 3 ans il y a

A résolu


Find the area of a rectangle if length of the diagonal is given.
if length of a diagnonal in rectangle is 5. Its area is 12.

plus de 3 ans il y a

A résolu


Matrix Generation.
if input n =1, generate a matrix y = [1]

plus de 3 ans il y a

A résolu


find the relation...
if given input is 1, output is 4. if input is 55, output is 3136.

plus de 3 ans il y a

A résolu


Test if a matrix is symmetric
Write a logical function that returns 1 if the input matrix is symmetric and 0 otherwise.

plus de 3 ans il y a

A résolu


Max index of 3D array
Given a three dimensional array M(m,n,p) write a code that finds the three coordinates x,y,z of the Maximum value. Example ...

plus de 3 ans il y a

A résolu


Matrix FUN
Given a Matrix M, find out the number of elements of matrix that are divisible by 3. M = [1 2 3;4 5 6;7 8 9]; ou...

plus de 3 ans il y a

A résolu


Counting votes
x is a vector of votes, e.g. x=[1 2 3 2 2 1 3 2 1 2 2 2 2], who is the winner? 1,2,3?

plus de 3 ans il y a

A résolu


Add the even numbers
Add only the even numbers of x example: x = [1 2 3 4 5] the positive numbers are: 2 4, so their sum is 6

plus de 3 ans il y a

A résolu


Remove multiples of N
in the vector x remove all multiples of N. x = [1 2 3 4 5 6]; N = 2; Then y = [1 3 5];

plus de 3 ans il y a

A résolu


sum of ASCII
Given a string x, return the sum of all ASCII numbers of all characters. for example, if x='lala' ('l'-> 108, 'a'->97) then y...

plus de 3 ans il y a

A résolu


Sum the real and imaginary parts of a complex number
Sum the real and imaginary parts of a complex number. Example c = 1+2i has the solution 1 + 2 = 3

plus de 3 ans il y a

A résolu


vector to string
Determine what the ASCII characters spell out. Example: input = [ 72 73 71 72] output = 'HIGH'

plus de 3 ans il y a

A résolu


Count the numbers
In a array x, count the number of times the number n appears in x. for example: x = [1 2 3 4 3 2 1 2] and n = 2 the answer sh...

plus de 3 ans il y a

A résolu


Odd times 3
Given a input matrix x, multiply all odd values by 3. Even values remain the same. example: x = [1 2 3 4 5;... 6 7...

plus de 3 ans il y a

A résolu


Add the odd numbers
Add only the odd numbers of x example: x = [1 2 3 4 5] the positive numbers are: 1 3 5, so their sum is 9

plus de 3 ans il y a

Charger plus