Solved


Find Logic 6

5 years ago

Solved


Calculate the sum of elements of n*n Hilbert matrix.
Calculate the sum of elements of n*n Hilbert matrix. For example, for n=5: HilbertMatrix = [1.0000 0.5000 0.333...

5 years ago

Solved


Display positive elements of matrix.
Display positive elements of matrix.

5 years ago

Solved


Matrix indexing with two vectors of indices (★★)
(copy of Prob 589) Given a matrix M and two index vectors a and b, return a row vector x where x(i) = M(a(i),b(i)). Thus, if...

5 years ago

Solved


Variance computation (★)
Given a vector x with several values, compute the variance, whose formula is given by: <<https://i.imgur.com/Wg95KBE.gif>> ...

5 years ago

Solved


Mo money, mo math #2! (★★★)
(adapted from Prob 9 Cody team) You have a matrix for which each row is a person and the columns represent the number of quar...

5 years ago

Solved


Mo money, mo math 1! (★★★)
(adapted from Prob 9 Cody team) You have a vector where the elements represent the number of $20 bills, $10 bills, $5 bills, ...

5 years ago

Solved


Median computation (★★★)
See easy edition of this problem. However, now you must compute the median of any real-valued vector without using the in-built...

5 years ago

Solved


Find scalar product of two polynomials a and b, given as vector array.
Find scalar product of two polynomials given as vector array. Example a=[1 -1 2]; b=[2 4 1]; result=0

5 years ago

Solved


Opposite task convert string hexadecimal numbers array into array of decimal numbers .
Opposite task convert string hexadecimal numbers array into array of decimal numbers . Example x=[ '208'; '209'; '20A'; ...

5 years ago

Solved


Find product of eigenvalues of n*n magic matrix.
Find product of eigenvalues of n*n magic matrix. Example n=3 Matrix= [ 8 1 6; 3 5 7; 4 ...

5 years ago

Solved


Opposite task convert binary numbers array into array of decimal numbers.
Opposite task convert binary numbers array into array of decimal numbers. Example x=[ 11001000 ; 11001001 ; 11001010 ...

5 years ago

Solved


Find Logic 11

5 years ago

Solved


Find Logic 26

5 years ago

Solved


Find Logic 25

5 years ago

Solved


Find Logic 30

5 years ago

Solved


Find Logic 31

5 years ago

Solved


Find Logic 32

5 years ago

Solved


Find the maximum two numbers of every column of a matrix
Find the maximum two numbers of every column of a matrix. Example: If we input a matrix A = [ 1 2 4 6 0 3 ...

5 years ago

Solved


Throw common elements of two vector arrays
Throw common elements as output of two given input vector arrays

5 years ago

Solved


string comparision
compare two strings if both are same return 1 else return 0

5 years ago

Solved


Find Logic 29

5 years ago

Solved


Polynomial Multiplication
Multiply two polynomial equation.Given polynomial coefficients a and b.

5 years ago

Solved


Solve t^(a*x^2+b*x+c)=s
Solve t^(a*x^2+b*x+c)=s. Return x vector as result. Example a=1, b=2, c=1, t=3, s=15. Result x(1)= 0.5700 x(2)=-2.5700 H...

5 years ago

Solved


Convert array of decimal numbers into binary numbers array.
Convert an array of decimal numbers into binary numbers array. For example: x = [1 2 3 4 5 6 7 8]; result = [1; 10; 11;...

5 years ago

Solved


does it touch ?
given a sentence, tell how much it touches. input : string output : how much it touches touching : a bilabial phoneme d...

5 years ago

Solved


Check if number is a square number
Test if integer i is a square number. Return logical true if it is.

5 years ago

Solved


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

5 years ago

Solved


Check if integer is a prime number
Check if integer i is a prime number. Returns logical true '1' if it is.

5 years ago

Solved


the number of inputs
Find the number of the inputs of the function. example y = theinputnumber(x,k); function called theinputnumber has 2 in...

5 years ago

Load more