문제를 풀었습니다


Create times-tables (★★★)
(copy of prob 33) At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 ti...

대략 5년 전

문제를 풀었습니다


Concatenate matrix into 4 quadrants for given number of iteration
If given a matrix and number, output should be its concatenation like wavelet for given number of iterations. Example a ...

대략 5년 전

문제를 풀었습니다


Namespace
Create a set of n variable names 'a_1',...,'a_n' The result should be a column oriented cell array of strings. Example inp...

대략 5년 전

문제를 풀었습니다


Explode string
Break a sentence into cell of words

대략 5년 전

문제를 풀었습니다


Logarithm with base other than 'e'
The standard log() function in Matlab returns the natural logarithm (base equal to Euler's constant). Compute the logarithm for ...

대략 5년 전

문제를 풀었습니다


Find the binary code
Given a sinusoidal signal, create a function that returns the binary code of a quantized value. The function takes the bit lengt...

대략 5년 전

문제를 풀었습니다


Testing Problem Creation
This is where MATLAB based question will be

대략 5년 전

문제를 풀었습니다


SAY 'OHYEAH'
Regardless of input, output the string 'OHYEAH'.

대략 5년 전

문제를 풀었습니다


Chào các bạn.
Cho 3 số. Tính tổng của chúng

대략 5년 전

문제를 풀었습니다


Are you in or are you out?
Given vertices specified by the vectors xv and yv, and a single point specified by the numbers X and Y, return "true" if the poi...

대략 5년 전

문제를 풀었습니다


Rotate a matrix without using rot90
rotate the input square matrix by certain degrees (e.g. 270 or 450 etc.) without using rot90 or flip function. its an extension...

대략 5년 전

문제를 풀었습니다


Pell numbers
Find the nth pell number <https://en.wikipedia.org/wiki/Pell_number>

대략 5년 전

문제를 풀었습니다


Repeat elements of a vector
Repeat each elements of a given vector according to their values. * x=[1,2,1,3] * y=[1,2,2,1,3,3,3]

대략 5년 전

문제를 풀었습니다


Determine whether the input is odd, even, or neither.
Make a function that returns ‘odd’ if the input is odd, ‘even’ if the input if even or ‘error’ if the input is neither odd nor ...

대략 5년 전

문제를 풀었습니다


How to calculate the length of a triangle's side given two angles and one side
You are given a triangle with angles alpha, beta and gamma and sides a opposite alpha, b opposite beta and c opposite gamma. ...

대략 5년 전

문제를 풀었습니다


Geometric Series
Given x and n, give the sum of x ^ 1 to x ^ n. You should not have to use a loop for this.

대략 5년 전

문제를 풀었습니다


Rotate it!
Given a set of points, your aim is to rotate it by a given angle "theta" CCW (in 2d). The points are given in a matrix(x) of dim...

대략 5년 전

문제를 풀었습니다


One-hot encoding

대략 5년 전

문제를 풀었습니다


LCM

대략 5년 전

문제를 풀었습니다


Create an array from 1 to x in steps of 1.

대략 5년 전

문제를 풀었습니다


Circle : Square

대략 5년 전

문제를 풀었습니다


Area-01
Given the radius of the circle inscribed in a square, find the area that is not bounded by the circle but inside the square. ...

대략 5년 전

문제를 풀었습니다


Polygonal numbers
The task of <http://www.mathworks.co.uk/matlabcentral/cody/problems/5 Problem 5> is to calculate triangular numbers. By playing ...

대략 5년 전

문제를 풀었습니다


Check if the input is a strong prime

대략 5년 전

문제를 풀었습니다


Check if the input is an interprime

대략 5년 전

문제를 풀었습니다


Go back n times
You will be given a column vector (such as x = [1; 2; 3; 4; 5; 6]). If (n=3) you will return following; [ 1 NaN NaN NaN ...

대략 5년 전

문제를 풀었습니다


Simple return on investment
Assume you have some money and want to invest all your money to stock market. You randomly select a stock and invest all your mo...

대략 5년 전

문제를 풀었습니다


Convert to Binary Coded Decimal
Convert from decimal representation to <http://en.wikipedia.org/wiki/Binary-coded_decimal Binary Code Decimal> (or BCD) represen...

대략 5년 전

문제를 풀었습니다


King's Cage
Given the position of the king on the chessboard, determine the minimum number of steps it'll require to reach the destination. ...

대략 5년 전

문제를 풀었습니다


Percentage profit:5: Cumulative Interest
If a bank is giving r% yearly cumulative interest for deposit, how much profit we can get by keeping x amount of money for n mon...

대략 5년 전

더 보기