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.

18Size
0 Comments
Problem 167. Pizza!
Solution 898672 Submitted 2 minutes ago by Orr Machlev
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 4. Make a checkerboard matrix
Solution 898671 Submitted 3 minutes ago by Orr Machlev
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 898670 Submitted 4 minutes ago
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 898669 Submitted 8 minutes ago by Orr Machlev
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 898668 Submitted 9 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 898667 Submitted 11 minutes ago by Orr Machlev
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 898666 Submitted 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 898665 Submitted 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 42862. Values in Array
Solution 898664 Submitted 19 minutes ago by Binbin Qi
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 42469. Produce a cosine wave
Solution 898663 Submitted 20 minutes ago by Justin Young
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
7Size
0 Comments
Problem 42465. Connect blocks in a model
Solution 898662 Submitted 34 minutes ago by Justin Young
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 898661 Submitted 1 hour and 6 minutes ago by Quintin Oliver
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 898660 Submitted 1 hour and 7 minutes ago by Quintin Oliver
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2844. Logic array: Identifying qualifying times
Solution 898659 Submitted 2 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.
12Size
0 Comments
Problem 1. Times 2 - START HERE
Solution 898658 Submitted 3 hours and 9 minutes ago by Matthew Roughan
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 898657 Submitted 3 hours and 39 minutes ago by Dylan Pontrello
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 898656 Submitted 3 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.
12Size
0 Comments
Problem 1. Times 2 - START HERE
Solution 898655 Submitted 3 hours and 39 minutes ago by Dylan Pontrello
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 898654 Submitted 3 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 1. Times 2 - START HERE
Solution 898653 Submitted 3 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 1. Times 2 - START HERE
Solution 898650 Submitted 3 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 1. Times 2 - START HERE
Solution 898649 Submitted 3 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.
15Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 898648 Submitted 3 hours and 52 minutes ago by JPVersiani
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 898647 Submitted 3 hours and 54 minutes ago by JPVersiani
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 898646 Submitted 4 hours and 14 minutes ago by Pavlo Baranov
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 898645 Submitted 4 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 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 898644 Submitted 4 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 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 898643 Submitted 4 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.
12Size
0 Comments
Problem 1. Times 2 - START HERE
Solution 898642 Submitted 4 hours and 18 minutes ago by Pavlo Baranov
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
48Size
0 Comments
Problem 23. Finding Perfect Squares
Solution 898641 Submitted 5 hours and 4 minutes ago by franz heubach
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1774. Free passes for everyone!
Solution 898640 Submitted 5 hours and 22 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
53Size
0 Comments
Problem 33. Create times-tables
Solution 898639 Submitted 5 hours and 32 minutes ago by franz heubach
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
40Size
0 Comments
Problem 106. Weighted average
Solution 898638 Submitted 5 hours and 53 minutes ago by franz heubach
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 898637 Submitted 5 hours and 53 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 898636 Submitted 5 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.
42Size
0 Comments
Problem 12. Fibonacci sequence
Solution 898635 Submitted 5 hours and 57 minutes ago by franz heubach
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 12. Fibonacci sequence
Solution 898634 Submitted 6 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.
81Size
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 898633 Submitted 6 hours and 40 minutes ago by franz heubach
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 898632 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 10. Determine whether a vector is monotonically increasing
Solution 898631 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.
12Size
0 Comments
Problem 1. Times 2 - START HERE
Solution 898630 Submitted 7 hours and 4 minutes ago by Kunkka
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
40Size
0 Comments
Problem 19. Swap the first and last columns
Solution 898629 Submitted 7 hours and 5 minutes ago by franz heubach
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
85Size
0 Comments
Problem 4. Make a checkerboard matrix
Solution 898628 Submitted 7 hours and 15 minutes ago by franz heubach
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 898627 Submitted 7 hours and 35 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 6. Select every other element of a vector
Solution 898625 Submitted 7 hours and 45 minutes ago by Jordan Segal
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 898624 Submitted 7 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.
Incorrect
0 Comments
Problem 4. Make a checkerboard matrix
Solution 898622 Submitted 7 hours and 53 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 19. Swap the first and last columns
Solution 898621 Submitted 8 hours and 1 minute ago by Pietro Kumarapperuma
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 898620 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 19. Swap the first and last columns
Solution 898619 Submitted 8 hours and 2 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.