Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Problema


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

más de 9 años hace | 2 | 99 solvers

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Problema


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

más de 9 años hace | 3 | 107 solvers

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Problema


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

más de 9 años hace | 2 | 97 solvers

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Problema


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

más de 9 años hace | 2 | 80 solvers

Resuelto


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

más de 9 años hace

Problema


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

más de 9 años hace | 3 | 130 solvers

Problema


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

más de 9 años hace | 1 | 122 solvers

Resuelto


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

más de 9 años hace

Problema


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

más de 9 años hace | 2 | 112 solvers

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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

más de 9 años hace

Cargar más