Resuelto


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

alrededor de 5 años hace

Resuelto


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

alrededor de 5 años hace

Resuelto


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

alrededor de 5 años hace

Resuelto


Explode string
Break a sentence into cell of words

alrededor de 5 años hace

Resuelto


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

alrededor de 5 años hace

Resuelto


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

alrededor de 5 años hace

Resuelto


Testing Problem Creation
This is where MATLAB based question will be

alrededor de 5 años hace

Resuelto


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

alrededor de 5 años hace

Resuelto


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

alrededor de 5 años hace

Resuelto


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

alrededor de 5 años hace

Resuelto


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

alrededor de 5 años hace

Resuelto


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

alrededor de 5 años hace

Resuelto


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]

alrededor de 5 años hace

Resuelto


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

alrededor de 5 años hace

Resuelto


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

alrededor de 5 años hace

Resuelto


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.

alrededor de 5 años hace

Resuelto


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

alrededor de 5 años hace

Resuelto


One-hot encoding

alrededor de 5 años hace

Resuelto


LCM

alrededor de 5 años hace

Resuelto


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

alrededor de 5 años hace

Resuelto


Circle : Square

alrededor de 5 años hace

Resuelto


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

alrededor de 5 años hace

Resuelto


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

alrededor de 5 años hace

Resuelto


Check if the input is a strong prime

alrededor de 5 años hace

Resuelto


Check if the input is an interprime

alrededor de 5 años hace

Resuelto


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

alrededor de 5 años hace

Resuelto


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

alrededor de 5 años hace

Resuelto


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

alrededor de 5 años hace

Resuelto


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

alrededor de 5 años hace

Resuelto


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

alrededor de 5 años hace

Cargar más