A résolu


Change string to number
Change given string to number. (hint: there is already function) Changing from ['1234'] to [1234] is one of example

environ 5 ans il y a

A résolu


Nth root
Nth root of a number x

environ 5 ans il y a

A résolu


Please check the last row
We have data of matrix, that is input. That contains 2 or more rows and the last row should contain the average of each column,...

environ 5 ans il y a

A résolu


The average of the second largest values
Given a matrix, find the average of the second largest values in each row. The same value does not exist on a row. Example: ...

environ 5 ans il y a

A résolu


Please check if calorie intake is less than 300 kcal.
I like eating some puddings and some chocolate cookies around 3 o'clock. However, I care about calorie intake. Please check whe...

environ 5 ans il y a

A résolu


Min-Max digit

environ 5 ans il y a

A résolu


Swap two numbers
Example Input: a = 10 b = 20 Output a = 20 b = 10

environ 5 ans il y a

A résolu


End Digits

environ 5 ans il y a

A résolu


Find the nearest value to the given one

environ 5 ans il y a

A résolu


Do you have the minimum age?

environ 5 ans il y a

A résolu


Highest building

environ 5 ans il y a

A résolu


Digits Multiplication

environ 5 ans il y a

A résolu


Sum of Two Numbers
Given two integer numbers x and y, calculate their sum and put it in z. Examples: Inputs x = 2, y = 4 Output z is 6 ...

environ 5 ans il y a

A résolu


concatenate the elements
you should concatenate the elements of a matrix in one dimensional array, for example if the input is A = [1 2 3; 4 5 6; 7 ...

environ 5 ans il y a

A résolu


No more zeros
Given an array with zeros at the beginning or at the end, you should get the output without these zeros: input = [zeros(5...

environ 5 ans il y a

A résolu


determine the sum of the squares
if x = 4, the solution will be: y = 1^2+2^2+3^2+4^2=1+4+9+16 = 30.

environ 5 ans il y a

A résolu


sum all digits
input = 123456789, output = 1+2+3+4+5+6+7+8+9 = 45

environ 5 ans il y a

A résolu


Upper case and lower case!

environ 5 ans il y a

A résolu


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

environ 5 ans il y a

A résolu


All your base are belong to us
Find the base _b_ logarithm of the input decimal number _x_. Express the output as a decimal number. The first argument is the n...

environ 5 ans il y a

A résolu


Perfect Square or not
find Given input x is perfect square or not,if yes then output y=1.else y=0

environ 5 ans il y a

A résolu


Determine Whether an array is empty
Input a matrix x, output y is TRUE if x is empty, otherwise FALSE.

environ 5 ans il y a

A résolu


Rotate a Matrix
Input a Matrix x, Output y is the matrix rotating x 90 degrees clockwise

environ 5 ans il y a

A résolu


Matlab Basics II - Free Fall
An object freely falling from rest under gravity covers a distance x given by: x = 1/2 gt^2 write a function that calculat...

environ 5 ans il y a

A résolu


Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.

environ 5 ans il y a

A résolu


Find Logic 1

environ 5 ans il y a

A résolu


Find the logic
There exists one logic in between input and output. Find it (easy math). Example 1: x=13 then y=339; Example 2: x=26...

environ 5 ans il y a

A résolu


kmph to mps
convert kilometer per hour to meter per second

environ 5 ans il y a

A résolu


Formatting currency numbers
Given a number, format it properly for textual display using the notation $xxx,xxx,xxx.xx. Assume that no more than two digits ...

environ 5 ans il y a

A résolu


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

environ 5 ans il y a

Charger plus