문제를 풀었습니다


cross in array
Make a cross from "1" in odd size array. Other value from array should be equal to "0"; As input you get length of side of arra...

9년 초과 전

문제를 풀었습니다


Find out value of sine given by degree.
Find out value of sine given by degree. If theta=30, it's value must be 0.5.

9년 초과 전

문제를 풀었습니다


Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

9년 초과 전

문제를 풀었습니다


Element by element multiplication of two vectors
Given two input vectors, return the element-by-element product. Example A = [1 2 3] B = [7 3 1] The answer should be...

9년 초과 전

문제를 풀었습니다


square root
Find the square root (y) of an input (x).

9년 초과 전

문제를 풀었습니다


Spiral Matrix
for a given integer n>=3, generate a matrix of nxn such that the value n^2 is at bottom left and its decreasing towards center ...

9년 초과 전

문제를 풀었습니다


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

9년 초과 전

문제를 풀었습니다


Sum the real and imaginary parts of a complex number
Sum the real and imaginary parts of a complex number. Example c = 1+2i has the solution 1 + 2 = 3

9년 초과 전

문제를 풀었습니다


Which coins to give
I was in shop today. I admired, how shop assistant had to think, which coins to give me. The task is we have a vector v=[0.5 0....

9년 초과 전

문제를 풀었습니다


Convert array of decimal numbers into binary numbers array.
Convert array of decimal numbers into binary numbers array. Example x = [1 2 3 4 5 6 7 8 ]; re...

9년 초과 전

문제를 풀었습니다


Convert array of decimal numbers into hexadecimal numbers array.
Convert array of decimal numbers into hexadecimal numbers array. Example x =[ 32 33 34 35 36 37 38 ...

9년 초과 전

문제를 풀었습니다


Find Adjacency Matrix
Graph is undirected. (s,t) in node pairs. Please, return full storage version of the matrix.(use _full(A)_ ) Input: s...

9년 초과 전

문제를 풀었습니다


What does the "B" in Benoit B Mandelbrot stand for?
Tip https://en.wikipedia.org/wiki/Mandelbrot_set

9년 초과 전

문제를 풀었습니다


Who knows the last digit of pi?
There is only one man who knows the last digit of pi, who is that man? Give the name of that man, who, by popular believe, can ...

9년 초과 전

문제를 풀었습니다


What do you get if you multiply six by nine?
The Hitchhiker's Guide to the Galaxy based task.

9년 초과 전

문제를 풀었습니다


Find 1's Complement
Find 1's complement of a binary number For Example: x = 10011010 1's complement of x = 01100101

9년 초과 전

문제를 풀었습니다


Solve t^(a*x^2+b*x+c)=s
Solve t^(a*x^2+b*x+c)=s. Return x vector as result. Example a=1, b=2, c=1, t=3, s=15. Result x(1)= 0.5700 x(2)=-2.5700 H...

9년 초과 전

문제를 풀었습니다


My cat likes strings!!
Create a string of specified length or more. It's that simple!

9년 초과 전

문제를 풀었습니다


Find the sides of an isosceles triangle when given its area and height to its base.
Find the sides of an isosceles triangle when given its area and height to its base. Example S=12, h=4, result will be [5 5 6]...

9년 초과 전

문제를 풀었습니다


Solve the system of equations.
_Ax=b_ * _A_ - square coefficient matrix * _b_ - right side column vector Find vecor _x_.

9년 초과 전

문제를 풀었습니다


Solve the following system of equations.
x-2y+3z=7 2x+y+z=4 -3x+2y-2z=-10

9년 초과 전

문제를 풀었습니다


Find the sum of the negative elements under the main diagonal.
Example Input A=[1 2; -3 0] Output -3

9년 초과 전

제출됨


Picture Browser
browse *.jpg picture under current directory

9년 초과 전 | 다운로드 수: 1 |

0.0 / 5
Thumbnail

문제를 풀었습니다


A little bit of luck needed
This one may require a little bit of guess work, but it is possible. Hints: - The same solution might fail the tests once and ...

9년 초과 전

문제를 풀었습니다


Put all numbers in a string inside square brackets
Examples: 'left3down2' -> 'left[3]down[2]' 'fiat500' -> 'fiat[500]'

9년 초과 전

문제를 풀었습니다


Skip empty cell entries
From {'a';'b';[];'c'} return {'a';'b';'c'} using a oneliner.

9년 초과 전

문제를 풀었습니다


Explode string
Convert a sentense into a cell of strings (i.e. use space as delimiter).

9년 초과 전

문제를 풀었습니다


Logarithm with base other than 'e'
Standard log() function returns natural logarithm with base equal to Euler constant. Compute logarithm for a given base.

9년 초과 전

문제를 풀었습니다


Solution to Ax=b with singular A
Find solution to Ax=b problem if A is singular. Hint: Compute a minimum norm solution

9년 초과 전

문제를 풀었습니다


Number of elements in matrix
Calculate the # of elements for given matrix

9년 초과 전

더 보기