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.

18Size
0 Comments
Problem 167. Pizza!
Solution 514547 Submitted 9 hours and 10 minutes ago by Shinya
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 514546 Submitted 9 hours and 10 minutes ago by Nathan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 26. Determine if input is odd
Solution 514545 Submitted 9 hours and 13 minutes ago by Nathan
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 514544 Submitted 9 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.
12Size
0 Comments
Problem 1. Times 2 - START HERE
Solution 514543 Submitted 9 hours and 17 minutes ago by Nathan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
46Size
0 Comments
Problem 4. Make a checkerboard matrix
Solution 514542 Submitted 10 hours and 2 minutes ago by Shinya
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
75Size
0 Comments
Problem 1972. Convert matrix to 3D array of triangular matrices
Solution 514541 Submitted 11 hours and 1 minute 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.
18Size
0 Comments
Problem 106. Weighted average
Solution 514540 Submitted 11 hours and 15 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 106. Weighted average
Solution 514539 Submitted 11 hours and 16 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 514538 Submitted 11 hours and 17 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 33. Create times-tables
Solution 514537 Submitted 11 hours and 22 minutes ago by Uri
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
34Size
0 Comments
Problem 12. Fibonacci sequence
Solution 514536 Submitted 11 hours and 24 minutes ago by Uri
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 514535 Submitted 11 hours and 30 minutes ago by Uri
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 167. Pizza!
Solution 514534 Submitted 12 hours and 41 minutes ago by Uri
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
32Size
0 Comments
Problem 19. Swap the first and last columns
Solution 514533 Submitted 12 hours and 43 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 19. Swap the first and last columns
Solution 514532 Submitted 12 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.
51Size
0 Comments
Problem 4. Make a checkerboard matrix
Solution 514531 Submitted 12 hours and 47 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 4. Make a checkerboard matrix
Solution 514530 Submitted 12 hours and 48 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
45Size
1 Comment
Problem 2636. Clear all empty variables from the workspace
Solution 514529 Submitted 13 hours and 24 minutes ago by J.R.! Menzinger
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 514528 Submitted 13 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.
24Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 514527 Submitted 13 hours and 36 minutes ago by Uri
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 514526 Submitted 13 hours and 38 minutes ago by Uri
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 5. Triangle Numbers
Solution 514525 Submitted 13 hours and 41 minutes ago by Uri
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 514524 Submitted 13 hours and 43 minutes ago by Uri
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
15Size
0 Comments
Problem 7. Column Removal
Solution 514523 Submitted 13 hours and 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.
17Size
0 Comments
Problem 6. Select every other element of a vector
Solution 514522 Submitted 13 hours and 49 minutes ago by Uri
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 26. Determine if input is odd
Solution 514521 Submitted 13 hours and 59 minutes ago by Uri
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 514520 Submitted 14 hours and 2 minutes ago by Jigar Patel
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 514519 Submitted 14 hours and 3 minutes ago by Uri
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 514518 Submitted 14 hours and 4 minutes ago by Uri
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 514517 Submitted 14 hours and 5 minutes ago by Jigar Patel
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 514516 Submitted 14 hours and 6 minutes ago by Jigar Patel
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 514515 Submitted 14 hours and 6 minutes ago by Uri
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 514513 Submitted 14 hours and 9 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 189. Sum all integers from 1 to 2^n
Solution 514512 Submitted 14 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.
69Size
0 Comments
Problem 21. Return the 3n+1 sequence for n
Solution 514511 Submitted 14 hours and 14 minutes ago by Jigar Patel
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 514509 Submitted 14 hours and 15 minutes ago by Uri
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
65Size
0 Comments
Problem 21. Return the 3n+1 sequence for n
Solution 514508 Submitted 14 hours and 21 minutes ago by Jigar Patel
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 21. Return the 3n+1 sequence for n
Solution 514507 Submitted 14 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.
Incorrect
0 Comments
Problem 2632. Variable Assignment
Solution 514506 Submitted 14 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.
21Size
0 Comments
Problem 33. Create times-tables
Solution 514505 Submitted 14 hours and 43 minutes ago by Zachary Tokie
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 33. Create times-tables
Solution 514504 Submitted 14 hours and 43 minutes ago by Zachary Tokie
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 33. Create times-tables
Solution 514503 Submitted 14 hours and 44 minutes ago by Zachary Tokie
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 33. Create times-tables
Solution 514502 Submitted 14 hours and 45 minutes ago by Zachary Tokie
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 514501 Submitted 14 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 39. Which values occur exactly three times?
Solution 514500 Submitted 14 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 39. Which values occur exactly three times?
Solution 514499 Submitted 14 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 39. Which values occur exactly three times?
Solution 514498 Submitted 14 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 39. Which values occur exactly three times?
Solution 514497 Submitted 14 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.
55Size
0 Comments
Problem 21. Return the 3n+1 sequence for n
Solution 514496 Submitted 15 hours and 1 minute ago by H
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.