A résolu


Magnitude of a vector (★★★)
Given a vector x with values [ x1, x2, x3, ..., xn ], compute the magnitude (or length) of the vector which is given by <<htt...

plus de 5 ans il y a

A résolu


Approximate functions 2 (★★★★)

plus de 5 ans il y a

A résolu


Testing Problem Creation
This is where MATLAB based question will be

plus de 5 ans il y a

A résolu


Check capital letters
Check if each first letter of a string is a capital letter. for example: 'This Is Ok' gives a true answer and 'This Is not Ok' ...

plus de 5 ans il y a

A résolu


Convert number from given base to other base
Convert number from given base to other base. Example 400 in base 5, find equivalent number in base 8, it is 144.

plus de 5 ans il y a

A résolu


Sum of big primes without primes
Inspired by Project Euler n°10 (I am quite obviously a fan). With problem n°250 by Doug, you can find some global methods to ...

plus de 5 ans il y a

A résolu


Functionality 1
It's all about functionality. *Cheating is allowed but not required*

plus de 5 ans il y a

A résolu


Back to the Future III
Marty McFly and Doc Brown are "back" again. See the test suite to see what they are up to.

plus de 5 ans il y a

A résolu


Back to the future II
See test suite

plus de 5 ans il y a

A résolu


Back to the future
See test suite See also: http://www.mathworks.com/matlabcentral/cody/problems/2449-back-to-the-future-ii

plus de 5 ans il y a

A résolu


Chess ELO rating system
The Elo rating system is a method for calculating the relative chess skill levels of players in competitor-versus-competitor gam...

plus de 5 ans il y a

A résolu


Chess probability
The difference in the ratings between two players serves as a predictor of the outcome of a match (the <http://en.wikipedia.org/...

plus de 5 ans il y a

A résolu


Pandigital number n°1 (Inspired by Project Euler 32)
A little warm-up to begin... An n-digit number is pandigital if it makes use of all the digits 1 to n exactly ONCE. For ex...

plus de 5 ans il y a

A résolu


Is the Point in a Circle?
Check whether a point or multiple points is/are in a circle centered at point (x0, y0) with radius r. Points = [x, y]; c...

plus de 5 ans il y a

A résolu


Zero
given an integer a, find the smallest possible integer b(b>0) such that their bitwise logical AND is zero. * if a=11(1011) t...

plus de 5 ans il y a

A résolu


Tribonacci Sequence
Generate the tribonacci sequence upto n

plus de 5 ans il y a

A résolu


Range Testing
Range Testing. Write a function that sets y = the range of input array x

plus de 5 ans il y a

A résolu


the proud tradition of zero scores in Cody
The short version is: *_your function should return a zero and also have a zero score/size_* The long version comes with a li...

plus de 5 ans il y a

A résolu


self description 2.0
New (and way easier) hacking problem built upon <http://www.mathworks.com/matlabcentral/cody/problems/1969 Alfonso's problem 196...

plus de 5 ans il y a

A résolu


Find my secret number
I try to hide a secret number in the workspace amongst others variables. I am paranoid so I change his value and his name a...

plus de 5 ans il y a

A résolu


Singularity v5 (with apologies to the true hack masters)
Since the vast majority of recent problems are how to hack Cody, here's another one, with an even more malformed test suite than...

plus de 5 ans il y a

A résolu


singularity 2.0 (really hard)
This problem is the continuation of problem <http://www.mathworks.com/matlabcentral/cody/problems/1770-singularity-2-0-harder Si...

plus de 5 ans il y a

A résolu


singularity 2.0 (hard)
This problem is the continuation of problem <http://www.mathworks.com/matlabcentral/cody/problems/1769-singularity-2-0-easier Si...

plus de 5 ans il y a

A résolu


Fangs of a vampire number
A <http://en.wikipedia.org/wiki/Vampire_number vampire number> is a number v that is the product of two numbers x and y such tha...

plus de 5 ans il y a

A résolu


Make a list string
Given a cell string, produce a string separating the items with spaces and commas and with an 'and' preceding the final item, an...

plus de 5 ans il y a

A résolu


leap year
find the number of leap years within the given time interval

plus de 5 ans il y a

A résolu


Cull vector elements that contain a specified digit
Given inputs of (1) a row vector and (2) a digit, identify the elements of that vector that contain the digit, remove them, and ...

plus de 5 ans il y a

A résolu


Prime Time
All you need to do here is submit your solution a prime number of seconds after the top of the hour. Any hour at all... Easy, ...

plus de 5 ans il y a

A résolu


Number Persistence
A number's persistence is the number of steps required to reduce it to a single digit by multiplying all its digits to obtain a ...

plus de 5 ans il y a

A résolu


How many rectangles in a grid ?
How many rectangles are there in an m × n grid ? For example, if m=1 & n=2, we have 3 rectangles.

plus de 5 ans il y a

Charger plus