Solved


Change matrix to vector
Vector is a matrix whose size is 1 x n or n x 1. Change matrix to vector. x = 4 3 5 1 ...

10 years ago

Solved


Change matrix to vector2
From x = 4 3 5 1 5 1 To y = 4 3 5 1 ...

10 years ago

Solved


Compare two input matrices
Check which input matrix has more elements. Return "1" if matrix A has more elements than matrix B. Otherwise return "0". Exa...

10 years ago

Solved


Select primes from the matrix.
Select primes from the matrix.

10 years ago

Problem


Select primes from the matrix.
Select primes from the matrix.

10 years ago | 2 | 99 solvers

Solved


select the primes of a vector
Find the prime numbers in a vector

10 years ago

Solved


Matrix to column conversion
Given a matrix of any size, convert it into a column vector. e.g A=[10 20 30; 40 50 60] then, B = [10; 40; ...

10 years ago

Solved


Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2

10 years ago

Solved


Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

10 years ago

Solved


Compare two strings.
Compare two strings, whether they are equal or not.

10 years ago

Problem


Compare two strings.
Compare two strings, whether they are equal or not.

10 years ago | 3 | 107 solvers

Solved


Сoncatenate two strings.
Сoncatenate two strings. Example s1='Hello' s2='world' result='Hello world'

10 years ago

Solved


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

10 years ago

Problem


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

10 years ago | 2 | 97 solvers

Solved


Rotate a Matrix
Input a Matrix x, Output y is the matrix rotating x 90 degrees clockwise

10 years ago

Solved


Set x value to each even index of vector y.
Set x value to each even index of vector y.

10 years ago

Problem


Set x value to each even index of vector y.
Set x value to each even index of vector y.

10 years ago | 2 | 80 solvers

Solved


Sum positive elements of matrix.
Calculate sum of positive elements of the matrix.

10 years ago

Problem


Sum positive elements of matrix.
Calculate sum of positive elements of the matrix.

10 years ago | 3 | 131 solvers

Problem


Find sum of negative elements in row.
Find sum of negative elements in row. Example x=[1 -5 3 4 -6 6 7 8 9 10] result = -11

10 years ago | 1 | 122 solvers

Solved


Pointwise multiplication of vectors.
Pointwise multiplication of vectors x and y. Example x= [1 3 5 7 9 11 13 15 17 19] y=[ 1 4...

10 years ago

Problem


Pointwise multiplication of vectors.
Pointwise multiplication of vectors x and y. Example x= [1 3 5 7 9 11 13 15 17 19] y=[ 1 4...

10 years ago | 2 | 112 solvers

Solved


Vectors multiplication.
Multiply two vectors x transposed and y.Example x = [1 2 3 4 5 6 7 8 9 10 ] y = [ 1 2 ...

10 years ago

Solved


Factorial !
Calculate the factorial of a non-negative integer without using the built in function *factorial*

10 years ago

Solved


Remove the positive integers.
Given array,x, remove all the positive numbers and display ouput as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].

10 years ago

Solved


Calculate square and cube of number
Calculate square and cube of number x

10 years ago

Solved


y equals x divided by 2
function y = x/2

10 years ago

Solved


Find the Nth Root of a Given Number
Find the Nth root of a given number x. Examples x = 4096 n = 4 y = 8 x = 625 n = 5 y = 3.6239

10 years ago

Solved


Finding perimeter of a rectangle
A rectangle has a length of x centimeters and a width of w centimeters. Find the perimeter.

10 years ago

Solved


Area of a disk
Find the area of a disk or circle. x= radius of the disk.

10 years ago

Load more