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.

Incorrect
0 Comments
Problem 2711. Assigning a sum
Solution 729278 Submitted 1 hour and 18 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 19. Swap the first and last columns
Solution 729260 Submitted 3 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.
26Size
0 Comments
Problem 5. Triangle Numbers
Solution 729257 Submitted 3 hours and 21 minutes ago by benoit
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 729228 Submitted 6 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 729221 Submitted 6 hours and 28 minutes ago
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 729214 Submitted 6 hours and 33 minutes ago by Sebastian
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 1659. Fahrenheit to Celsius using multiple statements
Solution 729211 Submitted 6 hours and 36 minutes ago by Jussi Mattas
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 94. Target sorting
Solution 729200 Submitted 6 hours and 49 minutes ago by Jussi Mattas
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 94. Target sorting
Solution 729199 Submitted 6 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.
29Size
0 Comments
Problem 22. Remove the vowels
Solution 729190 Submitted 7 hours and 16 minutes ago by Jussi Mattas
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 22. Remove the vowels
Solution 729188 Submitted 7 hours and 18 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 22. Remove the vowels
Solution 729182 Submitted 7 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 22. Remove the vowels
Solution 729178 Submitted 7 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.
24Size
0 Comments
Problem 30. Sort a list of complex numbers based on far they are from the origin.
Solution 729173 Submitted 7 hours and 30 minutes ago by Jussi Mattas
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 30. Sort a list of complex numbers based on far they are from the origin.
Solution 729171 Submitted 7 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.
27Size
0 Comments
Problem 9. Who Has the Most Change?
Solution 729158 Submitted 7 hours and 41 minutes ago by Jussi Mattas
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 729157 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 9. Who Has the Most Change?
Solution 729155 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.
23Size
0 Comments
Problem 106. Weighted average
Solution 729141 Submitted 7 hours and 52 minutes ago by Daniel 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 106. Weighted average
Solution 729139 Submitted 7 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.
20Size
0 Comments
Problem 42586. Find Missing Number
Solution 729126 Submitted 7 hours and 58 minutes ago by Jean-Marie Sainthillier
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 14. Find the numeric mean of the prime numbers in a matrix.
Solution 729122 Submitted 8 hours and 1 minute ago by Jussi Mattas
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 729111 Submitted 8 hours and 5 minutes ago by Daniel 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 26. Determine if input is odd
Solution 729108 Submitted 8 hours and 9 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 19. Swap the first and last columns
Solution 729095 Submitted 8 hours and 18 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 16. Return the largest number that is adjacent to a zero
Solution 729094 Submitted 8 hours and 19 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 16. Return the largest number that is adjacent to a zero
Solution 729093 Submitted 8 hours and 19 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 16. Return the largest number that is adjacent to a zero
Solution 729092 Submitted 8 hours and 19 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 729088 Submitted 8 hours and 23 minutes ago by Jussi Mattas
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 729086 Submitted 8 hours and 25 minutes ago by Jussi Mattas
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 16. Return the largest number that is adjacent to a zero
Solution 729084 Submitted 8 hours and 26 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 42467. Add offset to a signal
Solution 729071 Submitted 8 hours and 39 minutes ago by jrocket567
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 729070 Submitted 8 hours and 47 minutes ago by Rodrigo1234
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 750. Accumulate Cells
Solution 729050 Submitted 9 hours and 25 minutes ago by Peng Liu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 27. Pangrams!
Solution 729048 Submitted 9 hours and 27 minutes ago by Hugo Conatus
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 31. Remove all the words that end with "ain"
Solution 729047 Submitted 9 hours and 27 minutes ago by Robert
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 31. Remove all the words that end with "ain"
Solution 729046 Submitted 9 hours and 28 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 31. Remove all the words that end with "ain"
Solution 729045 Submitted 9 hours and 28 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 31. Remove all the words that end with "ain"
Solution 729043 Submitted 9 hours and 28 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 31. Remove all the words that end with "ain"
Solution 729042 Submitted 9 hours and 29 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 31. Remove all the words that end with "ain"
Solution 729041 Submitted 9 hours and 29 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 44. Trimming Spaces
Solution 729033 Submitted 9 hours and 37 minutes ago by Robert
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 44. Trimming Spaces
Solution 729032 Submitted 9 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 44. Trimming Spaces
Solution 729030 Submitted 9 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 62. Elapsed Time
Solution 729026 Submitted 9 hours and 42 minutes ago by Robert
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 62. Elapsed Time
Solution 729024 Submitted 9 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 62. Elapsed Time
Solution 729022 Submitted 9 hours and 43 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 62. Elapsed Time
Solution 729020 Submitted 9 hours and 43 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 39. Which values occur exactly three times?
Solution 729016 Submitted 9 hours and 44 minutes ago by Hugo Conatus
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 2021. Is this triangle right-angled?
Solution 729012 Submitted 9 hours and 47 minutes ago by Ryan Thomas
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.