문제를 풀었습니다


convert matrix to single column
given any matrix, convert it to single column

거의 12년 전

문제를 풀었습니다


Add two numbers
Add two numbers (For beginners)

거의 12년 전

문제를 풀었습니다


Find max
Find the maximum value of a given vector or matrix.

거의 12년 전

문제를 풀었습니다


only input
Return the output without writing any code into the function.

거의 12년 전

문제를 풀었습니다


Swap two numbers
Example Input: a = 10 b = 20 Output a = 20 b = 10

거의 12년 전

문제를 풀었습니다


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

거의 12년 전

문제를 풀었습니다


Determine the square root
Determine the square root of the value the user has entered, n.

거의 12년 전

문제를 풀었습니다


ascii value
let input='a' output=97

거의 12년 전

문제를 풀었습니다


reverse string
input='rama' output='amar'

거의 12년 전

문제를 풀었습니다


Palindrome Check
Check whether the entire matrix is palindrome or not. Example matrix = [7 8 7] matrix_reverse = [7 8 7] So the mat...

거의 12년 전

문제를 풀었습니다


Negative Infinity
Round the given array a towards negative infinity.

거의 12년 전

문제를 풀었습니다


Positive Infinity
Round the array a towards positive infinity

거의 12년 전

문제를 풀었습니다


Flip the bit
Given an input character string (e.g. '1001'), return a character string with the bits flipped ('0110').

거의 12년 전

문제를 풀었습니다


Convert Fahrenheit to Celsius
Calculate the Celsius temperature C given the Fahrenheit temperature F. Examples: Input F = 90 Output C is 32.22 I...

거의 12년 전

문제를 풀었습니다


Reverse a matrix
Its simple. You have to reverse a given matrix.

거의 12년 전

문제를 풀었습니다


Concatenate two strings
Its very easy. Just concatenate two strings.

거의 12년 전

문제를 풀었습니다


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

거의 12년 전

문제를 풀었습니다


Vector Magnitude Calculator
'a' is a vector that starts at the origin and ends at (x, y). Find ||a||. Hint: It is as simple as "ABC".

거의 12년 전

문제를 풀었습니다


Reverse the input
Given an input (n), produce an output in the reverse order with out using string variables or string function. Example x ...

거의 12년 전

문제를 풀었습니다


Sum of the Matrix Elements
Add up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns. E...

거의 12년 전

문제를 풀었습니다


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

거의 12년 전

문제를 풀었습니다


Max of a Vector
Write a function to return the max of a vector

거의 12년 전

문제를 풀었습니다


Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

거의 12년 전

문제를 풀었습니다


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

거의 12년 전

문제를 풀었습니다


Calculate distance travelled when given radius and rotations
When given radius of wheel and number of rotations calculate total distance travelled consider pi=3.14

거의 13년 전

문제를 풀었습니다


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

거의 13년 전

문제를 풀었습니다


Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.

거의 13년 전

문제를 풀었습니다


Negative matrix
Change the sign of all elements in given matrix.

거의 13년 전

문제를 풀었습니다


calculate RMS voltage
given peak to peak voltage, calculate rms voltage

거의 13년 전

문제를 풀었습니다


Average of square wave
given positive and negative peak , calculate dc level, 50% duty cycle

거의 13년 전

더 보기