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

What is Size?

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

11Size
0 Comments
Problem 2553. Complex number
Solution 515303 Submitted 1 minute ago by Dariusz
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 2552. Remainder
Solution 515302 Submitted 4 minutes ago by Dariusz
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
15Size
0 Comments
Problem 2620. Determine the Anti-diagonal of a Magic Square
Solution 515301 Submitted 6 minutes ago by David
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2620. Determine the Anti-diagonal of a Magic Square
Solution 515300 Submitted 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 2620. Determine the Anti-diagonal of a Magic Square
Solution 515299 Submitted 11 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 115. Distance walked 1D
Solution 515298 Submitted 45 minutes ago by Uri
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 12. Fibonacci sequence
Solution 515297 Submitted 46 minutes ago by Christopher
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 515296 Submitted 48 minutes ago by Uri
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 515295 Submitted 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 5. Triangle Numbers
Solution 515294 Submitted 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 5. Triangle Numbers
Solution 515293 Submitted 50 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 2621. Solve Linear equations
Solution 515292 Submitted 1 hour and 7 minutes ago by Bouhraoua
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
52Size
0 Comments
Problem 1892. LIFO Validation
Solution 515291 Submitted 1 hour and 8 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.
14Size
0 Comments
Problem 2621. Solve Linear equations
Solution 515290 Submitted 1 hour and 9 minutes ago by Bouhraoua
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 4. Make a checkerboard matrix
Solution 515289 Submitted 1 hour and 30 minutes ago by T
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 515288 Submitted 1 hour and 30 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
36Size
0 Comments
Problem 4. Make a checkerboard matrix
Solution 515287 Submitted 1 hour and 31 minutes ago by T
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 515286 Submitted 1 hour and 31 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 1116. Calculate the height of an object dropped from the sky
Solution 515285 Submitted 1 hour and 34 minutes ago by Dariusz
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 515284 Submitted 1 hour and 34 minutes ago by Bouhraoua
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 515283 Submitted 1 hour and 35 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 515282 Submitted 1 hour 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 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 515281 Submitted 1 hour and 39 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
38Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 515280 Submitted 1 hour and 41 minutes ago by Bouhraoua
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 515279 Submitted 1 hour and 44 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
38Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 515278 Submitted 1 hour and 45 minutes ago by Bouhraoua
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 515277 Submitted 1 hour and 47 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
35Size
0 Comments
Problem 129. All capital?
Solution 515276 Submitted 1 hour and 48 minutes ago by N Almudhahka
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
34Size
0 Comments
Problem 349. Back to basics 6 - Column Vector
Solution 515275 Submitted 1 hour and 51 minutes ago by N Almudhahka
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 349. Back to basics 6 - Column Vector
Solution 515274 Submitted 1 hour 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 349. Back to basics 6 - Column Vector
Solution 515273 Submitted 1 hour 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 4. Make a checkerboard matrix
Solution 515272 Submitted 1 hour 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 349. Back to basics 6 - Column Vector
Solution 515271 Submitted 1 hour and 52 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 106. Weighted average
Solution 515270 Submitted 1 hour and 55 minutes ago by Bouhraoua
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 515269 Submitted 1 hour and 55 minutes ago by N Almudhahka
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 515268 Submitted 1 hour and 55 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
38Size
0 Comments
Problem 128. Sorted highest to lowest?
Solution 515267 Submitted 1 hour and 57 minutes ago by N Almudhahka
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 2631. Flip the vector from right to left
Solution 515266 Submitted 2 hours and 1 minute ago by Bouhraoua
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 128. Sorted highest to lowest?
Solution 515265 Submitted 2 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.
13Size
0 Comments
Problem 8. Add two numbers
Solution 515264 Submitted 2 hours and 6 minutes ago by Bouhraoua
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 128. Sorted highest to lowest?
Solution 515263 Submitted 2 hours and 6 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 515262 Submitted 2 hours and 7 minutes ago by Bouhraoua
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 128. Sorted highest to lowest?
Solution 515261 Submitted 2 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.
Incorrect
0 Comments
Problem 128. Sorted highest to lowest?
Solution 515260 Submitted 2 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.
Incorrect
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 515259 Submitted 2 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.
174Size
0 Comments
Problem 2534. Path of least resistance - Move all direction
Solution 515257 Submitted 2 hours and 11 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.
Incorrect
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 515256 Submitted 2 hours and 15 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 1. Times 2 - START HERE
Solution 515255 Submitted 2 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 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 515254 Submitted 2 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.
8Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 515253 Submitted 2 hours and 23 minutes ago by Ruben
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.