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.

Incorrect
0 Comments
Problem 2728. Coordinate geometry
Solution 822606 Submitted just now
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2728. Coordinate geometry
Solution 822605 Submitted 1 minute ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 6. Select every other element of a vector
Solution 822604 Submitted 1 minute ago by Estelle
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2728. Coordinate geometry
Solution 822603 Submitted 2 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
31Size
0 Comments
Problem 2727. Population growth
Solution 822602 Submitted 6 minutes ago by Bryce Marshall
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2726. Function call in expression: Reduced pricing.
Solution 822601 Submitted 8 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
37Size
0 Comments
Problem 2725. Function definition: Volume of a pyramid
Solution 822600 Submitted 8 minutes ago by Xiangqian Yu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2725. Function definition: Volume of a pyramid
Solution 822599 Submitted 9 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
59Size
0 Comments
Problem 2726. Function call in expression: Reduced pricing.
Solution 822598 Submitted 9 minutes ago by Bryce Marshall
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2726. Function call in expression: Reduced pricing.
Solution 822597 Submitted 10 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 2725. Function definition: Volume of a pyramid
Solution 822596 Submitted 10 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 106. Weighted average
Solution 822595 Submitted 11 minutes ago by ZIQI LIU
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2725. Function definition: Volume of a pyramid
Solution 822594 Submitted 11 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 822593 Submitted 11 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
37Size
0 Comments
Problem 2716. Computing wind chill
Solution 822592 Submitted 12 minutes ago by Eric Stone
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2716. Computing wind chill
Solution 822591 Submitted 14 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 2716. Computing wind chill
Solution 822590 Submitted 14 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 2716. Computing wind chill
Solution 822589 Submitted 15 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 33. Create times-tables
Solution 822588 Submitted 15 minutes ago by ZIQI LIU
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 33. Create times-tables
Solution 822587 Submitted 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 2716. Computing wind chill
Solution 822586 Submitted 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 2724. Function definition: Double down.
Solution 822585 Submitted 17 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 2724. Function definition: Double down.
Solution 822584 Submitted 19 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 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 822583 Submitted 19 minutes ago by Michael Greenstein
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 2715. Compute total cost
Solution 822582 Submitted 19 minutes ago by Eric Stone
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2724. Function definition: Double down.
Solution 822581 Submitted 20 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 2714. Write an expression
Solution 822580 Submitted 20 minutes ago by Eric Stone
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 822579 Submitted 21 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 12. Fibonacci sequence
Solution 822578 Submitted 26 minutes ago by ZIQI LIU
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2724. Function definition: Double down.
Solution 822577 Submitted 27 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 33. Create times-tables
Solution 822576 Submitted 28 minutes ago by Kyle Roarty
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2724. Function definition: Double down.
Solution 822575 Submitted 28 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 2713. Circle area using pi
Solution 822574 Submitted 31 minutes ago by Eric Stone
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2713. Circle area using pi
Solution 822573 Submitted 33 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
65Size
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 822572 Submitted 33 minutes ago by ZIQI LIU
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2713. Circle area using pi
Solution 822570 Submitted 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 2713. Circle area using pi
Solution 822569 Submitted 40 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
78Size
0 Comments
Problem 19. Swap the first and last columns
Solution 822568 Submitted 41 minutes ago by ZIQI LIU
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2713. Circle area using pi
Solution 822567 Submitted 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 2713. Circle area using pi
Solution 822566 Submitted 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 2713. Circle area using pi
Solution 822565 Submitted 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 19. Swap the first and last columns
Solution 822564 Submitted 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 2713. Circle area using pi
Solution 822563 Submitted 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 2726. Function call in expression: Reduced pricing.
Solution 822562 Submitted 48 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
43Size
0 Comments
Problem 4. Make a checkerboard matrix
Solution 822561 Submitted 50 minutes ago by ZIQI LIU
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2724. Function definition: Double down.
Solution 822560 Submitted 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 2724. Function definition: Double down.
Solution 822559 Submitted 1 hour 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 2724. Function definition: Double down.
Solution 822558 Submitted 1 hour 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 2724. Function definition: Double down.
Solution 822556 Submitted 1 hour and 2 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 2724. Function definition: Double down.
Solution 822555 Submitted 1 hour and 4 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.