Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

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.

21Size
0 Comments
Problem 5. Triangle Numbers
Solution 928997 Submitted 44 minutes ago by aman
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 9. Who Has the Most Change?
Solution 928986 Submitted 2 hours and 36 minutes ago by Nicholas Lombardo
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 9. Who Has the Most Change?
Solution 928985 Submitted 2 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.
Incorrect
0 Comments
Problem 11. Back and Forth Rows
Solution 928980 Submitted 2 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.
Incorrect
0 Comments
Problem 106. Weighted average
Solution 928976 Submitted 4 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.
29Size
0 Comments
Problem 26. Determine if input is odd
Solution 928974 Submitted 4 hours and 41 minutes ago by Koc
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 928957 Submitted 5 hours and 21 minutes ago by Pablo Rodriguez
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 928955 Submitted 5 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.
20Size
0 Comments
Problem 5. Triangle Numbers
Solution 928948 Submitted 5 hours and 38 minutes ago by Pablo Rodriguez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 141. Solve the Sudoku Row
Solution 928946 Submitted 5 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.
22Size
0 Comments
Problem 6. Select every other element of a vector
Solution 928943 Submitted 5 hours and 40 minutes ago by Pablo Rodriguez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 6. Select every other element of a vector
Solution 928942 Submitted 5 hours and 41 minutes ago by Pablo Rodriguez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 928935 Submitted 5 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.
Incorrect
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 928933 Submitted 5 hours and 46 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 3. Find the sum of all the numbers of the input vector
Solution 928927 Submitted 5 hours and 55 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 39. Which values occur exactly three times?
Solution 928924 Submitted 6 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 39. Which values occur exactly three times?
Solution 928923 Submitted 6 hours and 5 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 39. Which values occur exactly three times?
Solution 928917 Submitted 6 hours and 10 minutes ago
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 928908 Submitted 6 hours and 57 minutes ago by Mike
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 928907 Submitted 6 hours and 59 minutes ago by Mike
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 928906 Submitted 7 hours and 1 minute 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 928901 Submitted 7 hours and 31 minutes ago by Alex Oratis
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 928898 Submitted 7 hours and 32 minutes ago by Alex Oratis
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 928887 Submitted 7 hours and 39 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 7. Column Removal
Solution 928885 Submitted 7 hours and 40 minutes ago by Alex Oratis
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 7. Column Removal
Solution 928884 Submitted 7 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 7. Column Removal
Solution 928883 Submitted 7 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 26. Determine if input is odd
Solution 928880 Submitted 7 hours and 42 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 7. Column Removal
Solution 928878 Submitted 7 hours and 42 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 26. Determine if input is odd
Solution 928876 Submitted 7 hours and 42 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 7. Column Removal
Solution 928869 Submitted 7 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 7. Column Removal
Solution 928866 Submitted 7 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 26. Determine if input is odd
Solution 928859 Submitted 7 hours and 46 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 26. Determine if input is odd
Solution 928858 Submitted 7 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 7. Column Removal
Solution 928852 Submitted 7 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.
30Size
0 Comments
Problem 26. Determine if input is odd
Solution 928844 Submitted 7 hours and 55 minutes ago by Alex Oratis
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 928839 Submitted 7 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.
Incorrect
0 Comments
Problem 26. Determine if input is odd
Solution 928836 Submitted 8 hours and 1 minute 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 26. Determine if input is odd
Solution 928833 Submitted 8 hours and 1 minute ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 24. Function Iterator
Solution 928822 Submitted 8 hours and 10 minutes ago by TurqoiseInt
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 7. Column Removal
Solution 928813 Submitted 8 hours and 23 minutes ago by Daniel Maestro
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 1943. Signed Magnitude
Solution 928809 Submitted 8 hours and 27 minutes ago by Stephanie O'Neil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 635. Angle between Two Vectors
Solution 928802 Submitted 8 hours and 32 minutes ago by Stephanie O'Neil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 928793 Submitted 8 hours and 58 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 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 928789 Submitted 9 hours and 1 minute ago by Michel Surma
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 167. Pizza!
Solution 928765 Submitted 9 hours and 12 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 928749 Submitted 9 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 4. Make a checkerboard matrix
Solution 928731 Submitted 9 hours and 31 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 928730 Submitted 9 hours and 31 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 928729 Submitted 9 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.