문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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

9년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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

9년 초과 전

문제


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

9년 초과 전 | 2 | 솔버 수: 99

문제를 풀었습니다


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

9년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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

9년 초과 전

문제를 풀었습니다


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

9년 초과 전

문제


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

9년 초과 전 | 3 | 솔버 수: 106

문제를 풀었습니다


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

9년 초과 전

문제를 풀었습니다


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

9년 초과 전

문제


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

9년 초과 전 | 2 | 솔버 수: 97

문제를 풀었습니다


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

9년 초과 전

문제를 풀었습니다


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

9년 초과 전

문제


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

9년 초과 전 | 2 | 솔버 수: 80

문제를 풀었습니다


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

9년 초과 전

문제


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

9년 초과 전 | 3 | 솔버 수: 130

문제


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년 초과 전 | 1 | 솔버 수: 122

문제를 풀었습니다


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년 초과 전

문제


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년 초과 전 | 2 | 솔버 수: 112

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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

9년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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

9년 초과 전

문제를 풀었습니다


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

9년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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

9년 초과 전

문제를 풀었습니다


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

9년 초과 전

더 보기