Gelöst


Mile to Kilometer
x is mile and y is km

etwa 5 Jahre vor

Gelöst


Magnitude of a vector
Given a vector x, what is its magnitude?

etwa 5 Jahre vor

Gelöst


Find square of given number
Find Square of any number

etwa 5 Jahre vor

Gelöst


Volume of Cylinder
Find the volume of a cylinder

etwa 5 Jahre vor

Gelöst


square of a number
find square of a given number

etwa 5 Jahre vor

Gelöst


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

etwa 5 Jahre vor

Gelöst


easy problem
Find the last element of the array

etwa 5 Jahre vor

Gelöst


Calculate the area of a circle
Given a circle of diameter x calculate its area

etwa 5 Jahre vor

Gelöst


Replace all odd numbers with NaN
Replace all odd numbers in the vector or matrix with NaN. For example, if x = [1 3 4 5 8 11]; then return y = [NaN Na...

etwa 5 Jahre vor

Gelöst


subtraction of two nos
given a and b, subtract and give the answer

etwa 5 Jahre vor

Gelöst


lb to kilogram
convert lb to kilogram units, easy

etwa 5 Jahre vor

Gelöst


Transpose the Matrix
Transpose the given matrix, e.g. x=[a b;c d] transpose of x = [a c;b d]

etwa 5 Jahre vor

Gelöst


Calculate Resistance 2
In this problem, you have to calculate Resistance R of a linear conductor having voltage V across it and current I is passing i...

etwa 5 Jahre vor

Gelöst


Divide pi
Divide pi by x!

etwa 5 Jahre vor

Gelöst


square root
Find square root of given number

etwa 5 Jahre vor

Gelöst


Times 5
Try out this test problem first. Given the variable x as your input, multiply it by five and put the result in y. Examples...

etwa 5 Jahre vor

Gelöst


Times 10
Try out this test problem first. Given the variable x as your input, multiply it by ten and put the result in y. Examples:...

etwa 5 Jahre vor

Gelöst


Multiply pi
Multiply pi with x!

etwa 5 Jahre vor

Gelöst


Square root of number
Square root of given number.

etwa 5 Jahre vor

Gelöst


row removal
Consider a matrix and remove the first row of the matrix.

etwa 5 Jahre vor

Gelöst


Hardy-Ramanujan number
Find the first Hardy-Ramanujan number.

etwa 5 Jahre vor

Gelöst


Flipping a Matrix
Flipping matrix up and down. If a central row is exists, leave it, and flip remaining rows. Example Mat = magic(3) ...

etwa 5 Jahre vor

Gelöst


Display negative numbers
Given array,x, display all the negative numbers and display output as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].

etwa 5 Jahre vor

Gelöst


Back to Basics - Find no. of elements in a matrix?
Let A be a m*n matrix. Find the total no. of elements in A ? (Hint - formula based) A = [1 2 3;4 5 6]; output = 6

etwa 5 Jahre vor

Gelöst


Element by element multiplication of two vectors
Given two input vectors, return the element-by-element product. Example A = [1 2 3] B = [7 3 1] The answer should be...

etwa 5 Jahre vor

Gelöst


Calculate the volume of the cube.
Example n = 3; a = volume(n); a = 27

etwa 5 Jahre vor

Gelöst


create a square matrix
create a [n*n] matrix. example: mat(4)= [ 1 4 9 16 4 4 9 16 9 9 ...

etwa 5 Jahre vor

Gelöst


Rankine to Celsius Converter
Given input R, degrees Rankine, convert into degrees Celsius.

etwa 5 Jahre vor

Gelöst


Sort rows of a matrix
Sort rows of matrix A in an ascending order according to the last column Example input: A = [1 2 3;7 8 9;4 5 6]; Exam...

etwa 5 Jahre vor

Gelöst


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

etwa 5 Jahre vor

Mehr laden