Status

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Cody Solutions

54Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 565482 Submitted 5 minutes ago by Karuna Mudliyar
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
56Size
0 Comments
Problem 2417. all possible subsets of set
Solution 565480 Submitted 7 minutes ago by Jan Orwat
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 1658. Simple equation: Annual salary
Solution 565477 Submitted 16 minutes ago by Aaron
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 1129. Reverse the elements of an array
Solution 565475 Submitted 26 minutes ago by Sylvain
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 1529. Sum the numbers on the main diagonal
Solution 565473 Submitted 28 minutes ago by Sylvain
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 1119. sum of non-primes
Solution 565471 Submitted 31 minutes ago by Sylvain
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
55Size
0 Comments
Problem 112. Remove the air bubbles
Solution 565469 Submitted 35 minutes ago by Sylvain
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 1188. The Answer to Life, the Universe, and Everything
Solution 565467 Submitted 43 minutes ago by Sylvain
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 662. Vectorize the digits of an Integer
Solution 565466 Submitted 43 minutes ago by Sylvain
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 2873. feeling VERY lucky?
Solution 565464 Submitted 47 minutes ago by Sylvain
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 565463 Submitted 47 minutes ago by SmileyPhysics
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 2872. Feeling lucky?
Solution 565461 Submitted 47 minutes ago by Sylvain
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 2793. Guess
Solution 565460 Submitted 48 minutes ago by Sylvain
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 167. Pizza!
Solution 565454 Submitted 1 hour and 1 minute ago by SmileyPhysics
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 167. Pizza!
Solution 565453 Submitted 1 hour and 1 minute ago by SmileyPhysics
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 8. Add two numbers
Solution 565451 Submitted 1 hour and 3 minutes ago by SmileyPhysics
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 8. Add two numbers
Solution 565450 Submitted 1 hour and 6 minutes ago by SmileyPhysics
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 1. Times 2 - START HERE
Solution 565448 Submitted 1 hour and 14 minutes ago by Engr. Mwita
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 940. R2012b atan in Degrees
Solution 565447 Submitted 1 hour and 28 minutes ago by Abdullah Caliskan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 940. R2012b atan in Degrees
Solution 565446 Submitted 1 hour and 30 minutes ago by Abdullah Caliskan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 627. Compute a dot product of two vectors x and y
Solution 565441 Submitted 1 hour and 41 minutes ago by Ritwik Rudra
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
40Size
0 Comments
Problem 1024. Doubling elements in a vector
Solution 565439 Submitted 1 hour and 47 minutes ago by Ritwik Rudra
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
218959Size
0 Comments
Problem 1192. Say something funny
Solution 565437 Submitted 1 hour and 53 minutes ago by Ritwik Rudra
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
115479Size
0 Comments
Problem 1192. Say something funny
Solution 565436 Submitted 1 hour and 54 minutes ago by Ritwik Rudra
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12116Size
0 Comments
Problem 1192. Say something funny
Solution 565435 Submitted 1 hour and 55 minutes ago by Ritwik Rudra
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 170. First N Perfect Squares
Solution 565434 Submitted 2 hours and 1 minute ago by Ritwik Rudra
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
32Size
0 Comments
Problem 7. Column Removal
Solution 565427 Submitted 2 hours and 14 minutes ago by Karuna Mudliyar
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 2871. Help the Patriots get to the Super Bowl
Solution 565424 Submitted 2 hours and 15 minutes ago by Ziko
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 2874. Cumulative product of a vector
Solution 565413 Submitted 2 hours and 18 minutes ago by Ziko
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
9Size
0 Comments
Problem 914. Number of Horns on a unicorn!
Solution 565412 Submitted 2 hours and 19 minutes ago by Ritwik Rudra
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 2875. Find difference of two set as per example
Solution 565411 Submitted 2 hours and 19 minutes ago by Ziko
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 2875. Find difference of two set as per example
Solution 565410 Submitted 2 hours and 19 minutes ago by Sylvain
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
32Size
0 Comments
Problem 2390. Fair Scoring for Cody
Solution 565409 Submitted 2 hours and 19 minutes ago by Jan Orwat
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 1230. Who is the smartest MATLAB programmer?
Solution 565408 Submitted 2 hours and 20 minutes ago by Ritwik Rudra
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
59Size
0 Comments
Problem 2390. Fair Scoring for Cody
Solution 565407 Submitted 2 hours and 21 minutes ago by Jan Orwat
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 2876. Convert number from given base to other base.
Solution 565406 Submitted 2 hours and 22 minutes ago by Sylvain
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 2167. Negative Infinity
Solution 565405 Submitted 2 hours and 26 minutes ago by Ritwik Rudra
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 1204. Prime Time
Solution 565404 Submitted 2 hours and 33 minutes ago by Abdullah Caliskan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 25. Remove any row in which a NaN appears
Solution 565403 Submitted 2 hours and 39 minutes ago by Marcus
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 833. Find third Side of a right triangle given hypotenuse and a side. No * - or other functions allowed
Solution 565402 Submitted 2 hours and 43 minutes ago by Abdullah Caliskan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 1666. Multielement indexing of a row array
Solution 565401 Submitted 2 hours and 57 minutes ago by Alan Gascoigne
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 1666. Multielement indexing of a row array
Solution 565399 Submitted 2 hours and 57 minutes ago by Alan Gascoigne
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 1665. Create a row array using double colon operator
Solution 565397 Submitted 2 hours and 59 minutes ago by Rusty
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
64Size
0 Comments
Problem 29. Nearest Numbers
Solution 565396 Submitted 3 hours and 3 minutes ago by Ignacio zubimendi
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 1763. Primes for Large N: 2^30, System Memory Limit
Solution 565394 Submitted 3 hours and 8 minutes ago by rifat ahmed
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
100Size
0 Comments
Problem 16. Return the largest number that is adjacent to a zero
Solution 565393 Submitted 3 hours and 10 minutes ago by Rusty
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
0Size
0 Comments
Problem 781. Access a web hosted copy of the Tiles Contest MAT file
Solution 565392 Submitted 3 hours and 12 minutes ago by rifat ahmed
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
0Size
0 Comments
Problem 781. Access a web hosted copy of the Tiles Contest MAT file
Solution 565390 Submitted 3 hours and 12 minutes ago by rifat ahmed
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 8. Add two numbers
Solution 565389 Submitted 3 hours and 16 minutes ago by Philip
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2876. Convert number from given base to other base.
Solution 565387 Submitted 3 hours and 17 minutes ago by Guillaume
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.