A résolu


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

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


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...

presque 10 ans il y a

A résolu


find max
You are given an array number find the maximum

presque 10 ans il y a

A résolu


Values in Array
How many values are in the array

presque 10 ans il y a

A résolu


Find subtraction
Given a, b. Find a-b

presque 10 ans il y a

A résolu


Find out Harmonic mean.
Find out Harmonic mean.

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


find minimum
find the minimum from an array

presque 10 ans il y a

A résolu


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 ...

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


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 ...

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


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 ...

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A soumis


Physical oceanography: numerical analysis 2
Solve equation using numeric method

presque 10 ans il y a | 1 téléchargement |

5.0 / 5
Thumbnail

A soumis


Physical oceanography: numerical analysis 1
Solve equation using numeric method

presque 10 ans il y a | 2 téléchargements |

4.9 / 5
Thumbnail

A résolu


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...

presque 10 ans il y a

A résolu


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...

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


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...

presque 10 ans il y a

A résolu


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...

presque 10 ans il y a

A résolu


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...

presque 10 ans il y a

A résolu


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 ...

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


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 ...

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


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].

presque 10 ans il y a

A résolu


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 ...

presque 10 ans il y a

Charger plus