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

28Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 433876 Submitted 2 minutes ago by Hermina
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 433875 Submitted 12 minutes ago by Hermina
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
45Size
0 Comments
Problem 510. Selecting books on MATLAB for experts and beginners (blindfolded)
Solution 433874 Submitted 12 minutes ago by George Berken
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 433873 Submitted 14 minutes ago by Hermina
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
35Size
0 Comments
Problem 514. Spot the rectangle (Part 2)
Solution 433869 Submitted 2 hours and 27 minutes ago by José Ramón Menzinger
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
42Size
0 Comments
Problem 514. Spot the rectangle (Part 2)
Solution 433868 Submitted 2 hours and 30 minutes ago by José Ramón Menzinger
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
56Size
0 Comments
Problem 163. Love triangles
Solution 433867 Submitted 2 hours and 40 minutes ago by galius
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 838. Check if number exists in vector
Solution 433864 Submitted 2 hours and 46 minutes ago by galius
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 351. Back to basics 8 - Matrix Diagonals
Solution 433863 Submitted 2 hours and 47 minutes ago by galius
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
11Size
0 Comments
Problem 355. Back to basics 11 - Max Integer
Solution 433862 Submitted 2 hours and 48 minutes ago by galius
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
8Size
0 Comments
Problem 2287. Find the dimensions of a matrix
Solution 433860 Submitted 3 hours and 58 minutes ago by Richard Zapor
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
99Size
0 Comments
Problem 392. Clock Hand Angle 1
Solution 433858 Submitted 4 hours and 29 minutes ago by George Berken
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 1133. Go-style solver
Solution 433857 Submitted 4 hours and 42 minutes ago by José Ramón Menzinger
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 1133. Go-style solver
Solution 433856 Submitted 4 hours and 44 minutes ago by José Ramón Menzinger
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 1133. Go-style solver
Solution 433855 Submitted 4 hours and 45 minutes ago by José Ramón Menzinger
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 1446. Minimum Distance Point to Segment
Solution 433854 Submitted 4 hours and 58 minutes ago by José Ramón Menzinger
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
40Size
0 Comments
Problem 1430. Create an n-by-n null matrix and fill with ones certain positions
Solution 433853 Submitted 5 hours and 18 minutes ago by George Berken
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 924. intersection of matrices
Solution 433852 Submitted 5 hours and 31 minutes ago by George Berken
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
15Size
0 Comments
Problem 1435. Basics: Divide integers to get integer outputs in all cases
Solution 433851 Submitted 5 hours and 45 minutes ago by George Berken
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
37Size
0 Comments
Problem 1153. Accessing elements on the diagonal
Solution 433849 Submitted 5 hours and 50 minutes ago by George Berken
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
50Size
0 Comments
Problem 1141. Volume difference between Ellipsoid and Sphere
Solution 433847 Submitted 6 hours and 10 minutes ago by George Berken
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
55Size
0 Comments
Problem 511. Converting Decimal to Binary
Solution 433846 Submitted 6 hours and 22 minutes ago by George Berken
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
55Size
0 Comments
Problem 511. Converting Decimal to Binary
Solution 433845 Submitted 6 hours and 23 minutes ago by George Berken
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 433843 Submitted 8 hours and 5 minutes ago by Himanshu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 149. Is my wife right?
Solution 433840 Submitted 8 hours and 57 minutes ago by michael
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 25. Remove any row in which a NaN appears
Solution 433839 Submitted 8 hours and 58 minutes ago by David
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 6. Select every other element of a vector
Solution 433838 Submitted 9 hours and 1 minute ago by michael
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
66Size
0 Comments
Problem 21. Return the 3n+1 sequence for n
Solution 433833 Submitted 9 hours and 12 minutes ago by Di Lu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
134Size
0 Comments
Problem 1934. GJam 2014 China Rd B: Sudoku Checker
Solution 433831 Submitted 9 hours and 13 minutes ago by Richard Zapor
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 195. Program an exclusive OR operation with logical operators
Solution 433830 Submitted 9 hours and 13 minutes ago by galius
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 108. Given an unsigned integer x, find the largest y by rearranging the bits in x
Solution 433829 Submitted 9 hours and 15 minutes ago by galius
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 433827 Submitted 9 hours and 16 minutes ago by David
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
11Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 433826 Submitted 9 hours and 20 minutes ago by Justin Fletcher
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
11Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 433825 Submitted 9 hours and 20 minutes ago by Justin Fletcher
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
11Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 433824 Submitted 9 hours and 20 minutes ago by Justin Fletcher
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
11Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 433823 Submitted 9 hours and 21 minutes ago by Justin Fletcher
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 129. All capital?
Solution 433822 Submitted 9 hours and 21 minutes ago by galius
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
11Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 433820 Submitted 9 hours and 21 minutes ago by Justin Fletcher
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 155. All your base are belong to us
Solution 433817 Submitted 9 hours and 23 minutes ago by galius
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 649. Return the first and last character of a string
Solution 433813 Submitted 9 hours and 25 minutes ago by galius
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 459. Sum of diagonal of a square matrix
Solution 433808 Submitted 9 hours and 27 minutes ago by galius
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 349. Back to basics 6 - Column Vector
Solution 433807 Submitted 9 hours and 28 minutes ago by galius
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
251Size
0 Comments
Problem 2291. GJam 2014 Qualifier: Deceitful War (Small)
Solution 433805 Submitted 9 hours and 35 minutes ago by Richard Zapor
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
86Size
0 Comments
Problem 2024. Triangle sequence
Solution 433804 Submitted 9 hours and 39 minutes ago by galius
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 233. Reverse the vector
Solution 433802 Submitted 9 hours and 44 minutes ago by Di Lu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 233. Reverse the vector
Solution 433801 Submitted 9 hours and 44 minutes ago by Di Lu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 167. Pizza!
Solution 433800 Submitted 9 hours and 52 minutes ago by Justin Fletcher
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 149. Is my wife right?
Solution 433799 Submitted 9 hours and 53 minutes ago by Justin Fletcher
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 5. Triangle Numbers
Solution 433798 Submitted 9 hours and 56 minutes ago by Justin Fletcher
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
39Size
0 Comments
Problem 7. Column Removal
Solution 433796 Submitted 10 hours and 1 minute ago by Justin Fletcher
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.