Resuelto

Fill an array given a sum and array length values
Fill an array with random numbers so that their sum and array length will be equal to the given values as input. Function will ...

alrededor de 6 horas hace

Resuelto

Determine whether the given number is palindrome or not.
A palindromic number (also known as a numeral palindrome or a numeric palindrome) is a number (such as 16461) that remains the s...

alrededor de 6 horas hace

Resuelto

decipher the number 1 - same key for all digits :)
You will be given a input number (eg) x=12345 you have to figure out the dechiper key and match it with given input and deciph...

alrededor de 17 horas hace

Resuelto

Dimensions of Spaces
Find the dimension of the column space, null space, row space, and left null space for any matrix. Example input A=[1 2 ...

alrededor de 17 horas hace

Resuelto

Number Puzzle - 031

alrededor de 17 horas hace

Resuelto

Congruent
Given two numbers, check whether they are congruent to each other or not for a particular value N.

alrededor de 18 horas hace

Resuelto

Count digits
Count total number of digits from 1 to n. * n=13 * output=17 since from [1-9] total 9 digits.[10-13] total 4*2=8 digits.

alrededor de 18 horas hace

Resuelto

How many Christmas presents under the tree?
For many families at Christmas, each family member gives 1 present to every other family member. The main exception is that chil...

alrededor de 18 horas hace

Resuelto

Seemingly impossible problem
This is a _seemingly_ 'impossible' problem, because variously your function, "impossibleFn", must return an output of either 1 o...

alrededor de 18 horas hace

Resuelto

Find my secret function III
only write a function gives you an outputs as expls: input: x=2 ------->>> Output: Y=1 input: x=100 ------->>> Output: Y=...

alrededor de 18 horas hace

Resuelto

convert 2D array of ones and zeros to checkerboard array of [1,2] where the original array was ones and zero elsewhere
Given a 2D array of ones and zeros, generate an equivalent sized checkerboard array of ones and twos. The checkerboard pattern s...

alrededor de 18 horas hace

Resuelto

Alternative Dimensions
Given a multidimensional matrix, transform the matrix so the dimensions are in the order given by variable ord. For example, giv...

alrededor de 18 horas hace

Resuelto

Find the standard deviation of an array
given an array, find it's standard deviation without using the std() function. Use sample formula (n-1) for standard deviation a...

alrededor de 18 horas hace

Resuelto

Melvyn and Banner are fighting over chocolates. Melvyn has X chocolates, while Banner has Y. Whoever has a lesser number of choc...

alrededor de 19 horas hace

Resuelto

Modulo with 5

alrededor de 19 horas hace

Resuelto

Approximate functions 2 (★★★★)

alrededor de 19 horas hace

Resuelto

Normie Function (2)
Another _Normie Function_ defined as _f(n)= f(n-1)+f(n-2)+f(n-3)_ , *when n>3* and _1_ , *when n<=3*. *Find the nth term of this...

alrededor de 19 horas hace

Resuelto

Are you more familiar with iteration methods or Linear Algebra? Let's see together.
Given a sum result *_x_* value of a *_N_* number of addends, build an array of _*N*_ elements _*y*_ such that the following equa...

alrededor de 19 horas hace

Resuelto

Create a function without inputs that adds one to the output every time it is called. a = counterfun; disp(a) >> 1 ...

alrededor de 19 horas hace

Resuelto

Get factory-defined property values
Given a property name (e.g. 'AxesUnits', 'LineMarkerSize', 'UicontrolBackgroundColor'), return the factory-defined value for tha...

alrededor de 19 horas hace

Resuelto

How many points lie within the rectangle and how many aren't?
Suppose, you are given the coordinates of bottom-left and top-right corners of a rectangle as *input-1, R* i.e *R=[Bottom-left c...

alrededor de 19 horas hace

Resuelto

Find the next binary palindrome number
We all know, a *palindrome* is nothing but a number or character which remains the same after the forward or backward alteration...

alrededor de 19 horas hace

Resuelto

Anagram
Given two strings, check whether they're anagrams to each other or not.

alrededor de 20 horas hace

Resuelto

What is the nth step in Conway's Life?
Based on <Problem 52. What is the next step in Conway's Life?> Generalize your solution to Problem 52 - Give the state of the...

alrededor de 20 horas hace

Resuelto

Bleed non-zeros to the right using REGEXP, and that sort of cheatcodess...
This one is quite similar to <http://www.mathworks.nl/matlabcentral/cody/problems/1998-bleed-non-zeros-to-the-right>. But thi...

alrededor de 20 horas hace

Resuelto

Latest Question On Cody
Get the problem number of the latest submitted Problem on Cody. Copying the test suite code might not help.

alrededor de 20 horas hace

Resuelto

An argument can be made about jokes. The shorter they are, the funnier. Further explained here: https://en.wikipedia.org/wiki/Hu...

3 días hace

Resuelto

UICBioE240 problem 1.11
Store a series of numbers into a 4 by 4 matrix, starting with the first few positions going right and down, and leaving the rest...

6 días hace

Resuelto

Number Puzzle - 081

7 días hace

Resuelto

Number Puzzle - 080

7 días hace