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.

12Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 826825 Submitted 7 minutes ago by toichubek zhamalidin
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
59Size
0 Comments
Problem 21. Return the 3n+1 sequence for n
Solution 826824 Submitted 34 minutes ago by SHUBHAM MITTAL
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 826823 Submitted 41 minutes ago by toichubek zhamalidin
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 826822 Submitted 43 minutes ago by toichubek zhamalidin
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 23. Finding Perfect Squares
Solution 826821 Submitted 48 minutes ago by Robert Price
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
31Size
0 Comments
Problem 23. Finding Perfect Squares
Solution 826820 Submitted 49 minutes ago by Robert Price
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 106. Weighted average
Solution 826819 Submitted 1 hour and 8 minutes ago by ashnil vaitla
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
79Size
0 Comments
Problem 11. Back and Forth Rows
Solution 826818 Submitted 1 hour and 9 minutes ago by SHUBHAM MITTAL
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 33. Create times-tables
Solution 826816 Submitted 1 hour and 29 minutes ago by Robert Price
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 32. Most nonzero elements in row
Solution 826814 Submitted 2 hours and 20 minutes ago by SHUBHAM MITTAL
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1200. FizzBuzz
Solution 826813 Submitted 3 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.
15Size
0 Comments
Problem 42721. Fun with a compass
Solution 826812 Submitted 4 hours and 40 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.
22Size
0 Comments
Problem 42721. Fun with a compass
Solution 826811 Submitted 4 hours and 51 minutes ago by LY Cao
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
48Size
0 Comments
Problem 42705. Is It a Snake?
Solution 826810 Submitted 5 hours and 14 minutes ago by LY Cao
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 304. Bottles of beer
Solution 826809 Submitted 5 hours and 46 minutes ago by ashnil vaitla
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 304. Bottles of beer
Solution 826808 Submitted 5 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.
21Size
0 Comments
Problem 2763. Constructing strings
Solution 826807 Submitted 5 hours and 52 minutes ago by Aaron Christy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
41Size
0 Comments
Problem 7. Column Removal
Solution 826806 Submitted 5 hours and 53 minutes ago by ashnil vaitla
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 2763. Constructing strings
Solution 826805 Submitted 5 hours and 55 minutes ago by Aaron Christy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2763. Constructing strings
Solution 826804 Submitted 5 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 2763. Constructing strings
Solution 826803 Submitted 5 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.
18Size
0 Comments
Problem 6. Select every other element of a vector
Solution 826802 Submitted 5 hours and 59 minutes ago by ashnil vaitla
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 6. Select every other element of a vector
Solution 826801 Submitted 5 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.
31Size
0 Comments
Problem 2756. Indexing the array: Shift right with variable sized arrays
Solution 826800 Submitted 6 hours and 7 minutes ago by Aaron Christy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2756. Indexing the array: Shift right with variable sized arrays
Solution 826799 Submitted 6 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 7. Column Removal
Solution 826798 Submitted 6 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.
31Size
0 Comments
Problem 2765. Column arrays: Transpose a row array
Solution 826797 Submitted 6 hours and 23 minutes ago by Aaron Christy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 2764. Constructing column arrays
Solution 826796 Submitted 6 hours and 25 minutes ago by Aaron Christy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 26. Determine if input is odd
Solution 826795 Submitted 6 hours and 30 minutes ago by ashnil vaitla
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2763. Constructing strings
Solution 826794 Submitted 6 hours and 30 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 2763. Constructing strings
Solution 826793 Submitted 6 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.
Incorrect
0 Comments
Problem 2763. Constructing strings
Solution 826792 Submitted 6 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.
22Size
0 Comments
Problem 2755. Variable sized row arrays
Solution 826791 Submitted 6 hours and 32 minutes ago by Luke Arana
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2755. Variable sized row arrays
Solution 826790 Submitted 6 hours and 32 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 2755. Variable sized row arrays
Solution 826789 Submitted 6 hours and 33 minutes ago by Luke Arana
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 7. Column Removal
Solution 826788 Submitted 6 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.
Incorrect
0 Comments
Problem 2755. Variable sized row arrays
Solution 826787 Submitted 6 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.
Incorrect
0 Comments
Problem 2763. Constructing strings
Solution 826786 Submitted 6 hours and 34 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 2755. Variable sized row arrays
Solution 826785 Submitted 6 hours and 36 minutes 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 2754. Indexing the last element: Print queue
Solution 826784 Submitted 6 hours and 37 minutes ago by Luke Arana
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2754. Indexing the last element: Print queue
Solution 826783 Submitted 6 hours and 37 minutes ago by Luke Arana
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 6. Select every other element of a vector
Solution 826782 Submitted 6 hours and 39 minutes ago by Matthew Hoeper
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 2760. Relational operators and row arrays: Run times
Solution 826781 Submitted 6 hours and 40 minutes ago by Aaron Christy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 2759. Relational operators and row arrays: Overweight baggage
Solution 826780 Submitted 6 hours and 42 minutes ago by Aaron Christy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 2758. Relational operators: Guessing game
Solution 826779 Submitted 6 hours and 43 minutes ago by Aaron Christy
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 826778 Submitted 6 hours and 44 minutes ago by Matthew Hoeper
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 826777 Submitted 6 hours and 51 minutes ago by Matthew Hoeper
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 2757. Linear-spaced points array
Solution 826776 Submitted 6 hours and 56 minutes ago by Aaron Christy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 8. Add two numbers
Solution 826775 Submitted 7 hours and 4 minutes ago by Matthew Hoeper
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 2747. Integer indexing array: Shift left
Solution 826774 Submitted 7 hours and 5 minutes ago by Gillian Micale
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.