문제를 풀었습니다


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

대략 4년 전

문제를 풀었습니다


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

대략 4년 전

문제를 풀었습니다


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

대략 4년 전

문제를 풀었습니다


How to Concatenate two strings?
How to Concatenate two strings?

대략 4년 전

문제를 풀었습니다


Create a code for XNOR
Given two inputs, output XNOR of those two

대략 4년 전

문제를 풀었습니다


Rotate Matrix Depending on the input
Rotate matrix (CounterClockwise) via 90, 180 or -90 depending on the input Ex. a = [1 2 3; 4 5 6; 7 8 9] b = 90; ...

대략 4년 전

문제를 풀었습니다


Odd times even numbers in a matrix
First count the number of odd numbers in x, then the number of even. Return their product. example: x = [1 2] One odd ...

대략 4년 전

문제를 풀었습니다


Add the positive numbers
Add only the positive numbers of x example: x = [-2 -1 0 1 2 3] the positive numbers are: 1 2 3, so their sum is 6

대략 4년 전

문제를 풀었습니다


sum of ASCII
Given a string x, return the sum of all ASCII numbers of all characters. for example, if x='lala' ('l'-> 108, 'a'->97) then y...

대략 4년 전

문제를 풀었습니다


Magnitude of a vector
Given a vector x, what is its magnitude?

대략 4년 전

문제를 풀었습니다


Find the volume of cone
Find the volume of cone, when given radius(r) and height(h).

대략 4년 전

문제를 풀었습니다


BaeIsAlwaysRight
Output yes whatever bae says

대략 4년 전

문제를 풀었습니다


Create a constant offset.
Add a constant offset to an array. Example a = [1 3 5 9] offset = 2 y = [3 5 7 11]

대략 4년 전

문제를 풀었습니다


Non trivial identities - reshape
Return x by reshaping it.

대략 4년 전

문제를 풀었습니다


Convert from integer to binary
if true % decimalToBinaryVector(x) end

대략 4년 전

문제를 풀었습니다


Step up
For given input array, output a array with all elements step up by two

대략 4년 전

문제를 풀었습니다


Find elements of set A those are not in set B
Given two sets of data A and B. Find elements of A those are not in set B. ...

대략 4년 전

문제를 풀었습니다


Can you reshape the matrix?
Given a matrix A, is it possible to reshape it into another matrix with the given number of rows?

대략 4년 전

문제를 풀었습니다


Detect pair of equal values in a Matrix
A 2D matrix of 2 rows and N columns with random integer numbers. A = [3 1 2 4 6 6 7; 7 3 2 1 5 2 4] ...

대략 4년 전

문제를 풀었습니다


Reverse Concatenation
Suggest methods to form a Matrix after deleting one of the input's elements. Input should be element's position and output shou...

대략 4년 전

문제를 풀었습니다


Evaluate Polynomial
Given a polynomial equation coefficients in a vector p, you have to return its value at x. Example: For inputs p and x ...

대략 4년 전

문제를 풀었습니다


Tridiagonal
Return an n-by-n matrix that has a, b, c as the subdiagonal, main diagonal, and superdiagonal entries in the matrix. Example ...

대략 4년 전

문제를 풀었습니다


find the relation...
if given input is 1, output is 4. if input is 55, output is 3136.

대략 4년 전

문제를 풀었습니다


Finding fourier transform of a given vector
Find the fourier transform of a given input vector for ex a=[1 2 3 4] then y=[ 10.0000 + 0.0000i -2.0000 +...

대략 4년 전

문제를 풀었습니다


Specific toolboxes
Given a string that is the name of a MATLAB toolbox, return true if it is available on the Cody solvers evaluation system, false...

대략 4년 전

문제를 풀었습니다


Flow rate in a pipe

대략 4년 전

문제를 풀었습니다


Sort in descending order.

대략 4년 전

문제를 풀었습니다


Orthogonal lines
Check whether two given lines are orthogonal or not. Two lines are orthogonal if they create a right angle at their intersect...

대략 4년 전

문제를 풀었습니다


Alternate elements!
Write a function that combines two lists by alternating the elements, e.g. ['a','b','c'], ['1','2','3'] → 'a1b2c3'.

대략 4년 전

문제를 풀었습니다


Scalar Matrix Manipulation
Assume, input x is a scalar matrix such as, x = 2 0 0 0 2 0 0 0 2 th...

대략 4년 전

더 보기