Gelöst


Testing for randomness: uniform distribution of real numbers (distribution checking)
You will be presented with a variety of sequences of real numbers. Your job is to answer the question: "Is this a uniformly di...

17 Tage vor

Gelöst


Back to basics: adding comments to your code
One of the most useful skills a programmer can develop is the skill — or habit — of writing descriptive comments within/above th...

17 Tage vor

Gelöst


Testing for randomness: uniform distribution of integers
On Cody several problems have been set up asking players to generate one or more 'random' numbers. Usually they are asking for ...

17 Tage vor

Gelöst


Back to basics: throwing errors / exceptions
*Throwing and handling errors (or exceptions) is an important part of practical programming.* Here your task is to provide ...

18 Tage vor

Gelöst


Equilibrium
Is this tower of blocks going to fall? <<http://www.alfnie.com/software/equilibrium02.jpg>> *Description* Given a stack...

19 Tage vor

Gelöst


Logic 12

20 Tage vor

Gelöst


Logic 11

20 Tage vor

Gelöst


Logic x

20 Tage vor

Gelöst


Logic 9

20 Tage vor

Gelöst


Logic 8

20 Tage vor

Gelöst


Logic 6

20 Tage vor

Gelöst


Logic 5

20 Tage vor

Gelöst


Logic 4

20 Tage vor

Gelöst


Logic 3

20 Tage vor

Gelöst


Logic 2

20 Tage vor

Gelöst


Logic 1

20 Tage vor

Gelöst


Decipher the message - 3 key

21 Tage vor

Gelöst


Hash
eg: if x=127 and r = 5 1st digit 1+5=6; 2nd digit =2+5=7; 3rd digit = 7+5=12---> 3 (sum of digits 1+2 =3) then output y= 673 ...

21 Tage vor

Gelöst


Prouhet–Tarry–Escott (basic)
Inspired by <http://www.mathworks.com/matlabcentral/cody/problems/660-find-a-subset-that-divides-the-vector-into-equal-halves pr...

21 Tage vor

Gelöst


Modify subscripts
MATLAB supports object-oriented programming. Let's take an advantage of it in cody. This problem starts <http://uk.mathworks....

22 Tage vor

Gelöst


Modify subscripts - easier
MATLAB supports object-oriented programming. Let's take an advantage of it in cody. This problem focus on modifying subscript...

22 Tage vor

Gelöst


Open coded lock.
Guess the <hint://fliplr(anchortext) password> or break the <2314/solutions/new#test_suite_body lock>.

22 Tage vor

Gelöst


I want to know everything!
I am always a little bit paranoid. Now, I want to know what my co-workers do with my MATLAB when I am not here. Find (i...

22 Tage vor

Gelöst


Can you beat the lottery again (for hardcore coder) ?
Inspired by the Problem 1713 by Chris E. Here is the code that generates the first lottery number: rng('shuffle'); numb...

23 Tage vor

Gelöst


Number of active Cody players by date
I'm looking to start a series of problems related to web scraping. In this problem, you are given a date in 'dd mmm yyyy' format...

23 Tage vor

Gelöst


List of built-in demo images
Return a cell array containing the filenames for built-in images (e.g. cameraman.tif, coins.png). An optional input specifies wh...

23 Tage vor

Gelöst


Find the maximal cliques in an undirected graph
This is a variant of a <http://www.mathworks.com/matlabcentral/cody/problems/2646-determine-the-number-of-maximal-cliques-in-an-...

23 Tage vor

Mehr laden