Cody

Welcome to Cody

• A fun community coding game to challenge your skills and learn MATLAB.
• Coding problems for all skill levels, beginners to advanced.
• Learn from other players how to improve your code.

Popular Problems

Problem Title Likes Solvers

Times 2 - START HERE

Created by: Cody Team

Tags intro, math, basics

116

36445

Make the vector [1 2 3 4 5 6 7 8 9 10]

Created by: Cody Team

Tags basic, colon, x=1:10

81

29479

Find the sum of all the numbers of the input vector

Created by: Cody Team

60

25696

Created by: Cody Team

63

23039

Determine if input is odd

Created by: Cody Team

88

17162

Select every other element of a vector

Created by: Cody Team

65

16256

Pizza!

Created by: the cyclist

Tags pizza, fun

218

14997

Column Removal

Created by: Cody Team

59

14358

Triangle Numbers

Created by: Cody Team

Tags math, triangle

55

14229

Is my wife right?

Created by: the cyclist

Tags fun, stupid, silly

192

13821

Recent Activity

 6 minutes ago 10 minutes ago 10 minutes ago 12 minutes ago Asif Newaz submitted a Comment to Solution 1427667 @Simone Sabbatini i dont think ur algorithm is correct. understand the sequence well.. The first term is zero. Then- If the last term is *new* to the sequence so far then-- The next term is zero. Otherwise: The next term is "how far back" this last term occured previousely. 13 minutes ago 14 minutes ago 16 minutes ago 18 minutes ago 18 minutes ago 21 minutes ago