Solved


find lenth of array
you have given an array, find the length of that.

10 years ago

Solved


Find the qube of a give number.
You are given a number, find the qube of that number.

10 years ago

Solved


Binary code (array)
Write a function which calculates the binary code of a number 'n' and gives the result as an array(vector). Example: Inpu...

10 years ago

Solved


find max
You are given an array number find the maximum

10 years ago

Solved


Values in Array
How many values are in the array

10 years ago

Solved


Find subtraction
Given a, b. Find a-b

10 years ago

Solved


Find out Harmonic mean.
Find out Harmonic mean.

10 years ago

Solved


Find mean
given an array, find the mean of the number in that array

10 years ago

Solved


find minimum
find the minimum from an array

10 years ago

Solved


My Problem, Find the square of the horizontal concatenation of the third and fifth elements of a vector.
given the 1x5 vector x, y must be the square of the horizontal concatenation of the third and fifth elements. So, if x = [1 1 1 ...

10 years ago

Solved


imaginary results
Return the value of the imaginary number i to the power of input argument n.

10 years ago

Solved


Matrix Construction I
Given n, construct a matrix as shown in the example below. Example For n=8, the output should look like this: 1 2 3 4 ...

10 years ago

Solved


find sum of the numbers in array
calculate the sum of numbers in a given array

10 years ago

Solved


Perimeters/Circumference
Given an array. Determine whether the perimeter is of a circle, triangle or square. Then calculate the perimeter.

10 years ago

Solved


Given area find sides
In a right angle triangle given area 'A' one arm=x, another arm=2x then find the value of x. For example, area A=400 then ...

10 years ago

Solved


find the maximum element of the matrix
for e.g x = [1 2; 3 4] y = 4

10 years ago

Submitted


Physical oceanography: numerical analysis 2
Solve equation using numeric method

10 years ago | 107 downloads |

5.0 / 5
Thumbnail

Submitted


Physical oceanography: numerical analysis 1
Solve equation using numeric method

10 years ago | 130 downloads |

4.9 / 5
Thumbnail

Solved


Find offset of given matrix element from first matrix element
Given matrix m and an element of that matrix, return the offset from its first element. e.g. m=[11 2 34; 40 51 6; 87 8 109] el...

10 years ago

Solved


Change Vector Value
Change the element of the vector with respect to the element of the direction vector If the element of the direction vecto...

10 years ago

Solved


Golden ratio
Calculate the golden ratio. Hint: phi^2 = phi + 1.

10 years ago

Solved


union without repitition
Let a = [9 9 9 9 9 9 8 8 8 8 7 7 7 6 6 6 5 5 4 2 1] b = [1 1 1 3 3 3 3 3 4 4 4 4 4 10 10 10] Output should be [9 8...

10 years ago

Solved


Reshape a Vector
Write a function that accept three inputs. The first one is a row vector S. The second and third arguments are m and n which de...

10 years ago

Solved


Generate vector according to sign of vector
Generate vector according to sign of vector Example: If A=[-2 0 5] then output must be[-1 0 1] meaning that for negative n...

10 years ago

Solved


Powers Of
Fill the vector with powers of 2, so that vector(1) is 2^1, vector(2) is 2^2, etc. Stop with vector(10). Complete the function ...

10 years ago

Solved


Complex transpose
Calculate the transpose of a matrix having complex numbers as its elements without changing the signs of the imaginary part. ...

10 years ago

Solved


Remove All elements less than 5
Given an input vector x, remove all elements of x less than 5 . Example: Input x = [ 1 2 5 7 3 ] Output y is [ 5 7 ...

10 years ago

Solved


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

10 years ago

Solved


Sort the vector with the given index
Given x = [1 2 4 8 17] and t = [1 3 2 5 4] then y = [1 4 2 17 8].

10 years ago

Solved


Matrix multiplication across rows
Given matrix m, return matrix n such that, rows of n are result of multiplication of the rows of the input matrix Example ...

10 years ago

Load more