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

New to MATLAB?

Cody Solutions

What is Size?

Size refers to the number of nodes in a parse tree. Generally speaking, you can think of size as code length.

22Size
0 Comments
Problem 42. Find the alphabetic word product
Solution 657917 Submitted 6 minutes ago by Ike
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42. Find the alphabetic word product
Solution 657916 Submitted 6 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 214. Filter values in a vector
Solution 657902 Submitted 41 minutes ago by Navan Ruthramoorthy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 7. Column Removal
Solution 657857 Submitted 1 hour and 45 minutes ago by Julius Förstel
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 657855 Submitted 1 hour and 49 minutes ago by Julius Förstel
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 314. Find the sum of the elements in the "second" diagonal
Solution 657839 Submitted 2 hours and 33 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 26. Determine if input is odd
Solution 657838 Submitted 3 hours and 2 minutes ago by Miguel
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 26. Determine if input is odd
Solution 657837 Submitted 3 hours and 3 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 314. Find the sum of the elements in the "second" diagonal
Solution 657836 Submitted 3 hours and 7 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 109. Check if sorted
Solution 657820 Submitted 3 hours and 36 minutes ago by Andreas Schaaf
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 109. Check if sorted
Solution 657819 Submitted 3 hours and 37 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 813. Multiply 2 numbers
Solution 657813 Submitted 3 hours and 40 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 532. Return unique values without sorting
Solution 657810 Submitted 3 hours and 43 minutes ago by Chellammai C
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 262. Swap the input arguments
Solution 657806 Submitted 3 hours and 47 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 4. Make a checkerboard matrix
Solution 657803 Submitted 3 hours and 49 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 1087. Magic is simple (for beginners)
Solution 657801 Submitted 3 hours and 50 minutes ago by Chellammai C
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 657798 Submitted 3 hours and 51 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 657796 Submitted 3 hours and 54 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 657793 Submitted 3 hours and 55 minutes ago by Sebastiaan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 657791 Submitted 3 hours and 56 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 7. Column Removal
Solution 657779 Submitted 4 hours and 3 minutes ago by Sebastiaan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 19. Swap the first and last columns
Solution 657773 Submitted 4 hours and 14 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 6. Select every other element of a vector
Solution 657770 Submitted 4 hours and 17 minutes ago by Sebastiaan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 6. Select every other element of a vector
Solution 657758 Submitted 4 hours and 50 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 6. Select every other element of a vector
Solution 657757 Submitted 4 hours and 50 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 6. Select every other element of a vector
Solution 657756 Submitted 4 hours and 54 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 6. Select every other element of a vector
Solution 657754 Submitted 4 hours and 56 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 6. Select every other element of a vector
Solution 657753 Submitted 4 hours and 57 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 6. Select every other element of a vector
Solution 657752 Submitted 4 hours and 59 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 176. Nearest
Solution 657743 Submitted 5 hours and 30 minutes ago by Gareth Lee
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 690. Remove the two elements next to NaN value
Solution 657735 Submitted 5 hours and 52 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1806. 04 - Scalar Equations 1
Solution 657733 Submitted 6 hours and 27 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 1806. 04 - Scalar Equations 1
Solution 657732 Submitted 6 hours and 30 minutes ago by Gareth Lee
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 4. Make a checkerboard matrix
Solution 657730 Submitted 6 hours and 37 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 4. Make a checkerboard matrix
Solution 657728 Submitted 6 hours and 38 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 116. Distance walked 2D
Solution 657727 Submitted 6 hours and 39 minutes ago by Gareth Lee
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 4. Make a checkerboard matrix
Solution 657726 Submitted 6 hours and 41 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 657723 Submitted 6 hours and 44 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 657722 Submitted 6 hours and 45 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 657721 Submitted 6 hours and 46 minutes ago by Vinoth Rajagopal
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 657720 Submitted 6 hours and 47 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 451. Is this matrix orthogonal?
Solution 657711 Submitted 8 hours and 8 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 451. Is this matrix orthogonal?
Solution 657710 Submitted 8 hours and 9 minutes ago by Gareth Lee
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 451. Is this matrix orthogonal?
Solution 657704 Submitted 8 hours and 20 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 451. Is this matrix orthogonal?
Solution 657703 Submitted 8 hours and 21 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 451. Is this matrix orthogonal?
Solution 657702 Submitted 8 hours and 23 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 173. Minefield Sonar
Solution 657696 Submitted 8 hours and 35 minutes ago by Brian Moore
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 239. Project Euler: Problem 5, Smallest multiple
Solution 657681 Submitted 8 hours and 49 minutes ago by Gareth Lee
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 239. Project Euler: Problem 5, Smallest multiple
Solution 657678 Submitted 8 hours and 54 minutes ago by Gareth Lee
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 131. Least common multiple of many numbers
Solution 657675 Submitted 8 hours and 58 minutes ago by Gareth Lee
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.