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

9 years ago

Solved


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

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

9 years ago

Solved


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

9 years ago

Problem


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

9 years ago | 2 | 98 solvers

Solved


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

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

9 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

9 years ago

Solved


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

9 years ago

Solved


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

9 years ago

Problem


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

9 years ago | 3 | 105 solvers

Solved


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

9 years ago

Solved


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

9 years ago

Problem


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

9 years ago | 2 | 95 solvers

Solved


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

9 years ago

Solved


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

9 years ago

Problem


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

9 years ago | 2 | 79 solvers

Solved


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

9 years ago

Problem


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

9 years ago | 3 | 129 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

9 years ago | 1 | 120 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...

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

9 years ago | 2 | 110 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 ...

9 years ago

Solved


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

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

9 years ago

Solved


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

9 years ago

Solved


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

9 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

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

9 years ago

Solved


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

9 years ago

Load more