Gelöst


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

10 Monate vor

Gelöst


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

10 Monate vor

Gelöst


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

10 Monate vor

Gelöst


Converts numbers into characters
Converts numbers into characters

10 Monate vor

Gelöst


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

10 Monate vor

Gelöst


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

10 Monate vor

Gelöst


to the 2 all elements
to the 2 all elements

10 Monate vor

Gelöst


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

10 Monate vor

Gelöst


Convert from Fahrenheit to Celsius
Given an input vector F containing temperature values in Fahrenheit, return an output vector C that contains the values in Celsi...

10 Monate vor

Gelöst


Calculate Amount of Cake Frosting
Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you n...

10 Monate vor

Gelöst


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

11 Monate vor

Gelöst


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

11 Monate vor

Gelöst


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

11 Monate vor

Gelöst


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

11 Monate vor