A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

Problème


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

plus de 9 ans il y a | 2 | 98 solveurs

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

Problème


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

plus de 9 ans il y a | 3 | 106 solveurs

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

Problème


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

plus de 9 ans il y a | 2 | 96 solveurs

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

Problème


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

plus de 9 ans il y a | 2 | 80 solveurs

A résolu


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

plus de 9 ans il y a

Problème


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

plus de 9 ans il y a | 3 | 130 solveurs

Problème


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

plus de 9 ans il y a | 1 | 122 solveurs

A résolu


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

plus de 9 ans il y a

Problème


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

plus de 9 ans il y a | 2 | 112 solveurs

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

Charger plus