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

New to MATLAB?

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.

13Size
0 Comments
Problem 42443. Is the light on?
Solution 695842 Submitted 22 minutes ago by Antoine
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42443. Is the light on?
Solution 695841 Submitted 22 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 25. Remove any row in which a NaN appears
Solution 695840 Submitted 39 minutes ago by Hyo
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 30. Sort a list of complex numbers based on far they are from the origin.
Solution 695839 Submitted 40 minutes ago by Matt Gray
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 30. Sort a list of complex numbers based on far they are from the origin.
Solution 695838 Submitted 42 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
46Size
0 Comments
Problem 9. Who Has the Most Change?
Solution 695837 Submitted 43 minutes ago by Matt Gray
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 9. Who Has the Most Change?
Solution 695836 Submitted 45 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 9. Who Has the Most Change?
Solution 695835 Submitted 46 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
39Size
0 Comments
Problem 11. Back and Forth Rows
Solution 695834 Submitted 49 minutes ago by Matt Gray
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 11. Back and Forth Rows
Solution 695833 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 25. Remove any row in which a NaN appears
Solution 695832 Submitted 59 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 2714. Write an expression
Solution 695831 Submitted 1 hour and 1 minute ago by Cory Johnson
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 1663. Pizza value using expression with parentheses
Solution 695830 Submitted 1 hour and 2 minutes ago by Cory Johnson
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 23. Finding Perfect Squares
Solution 695829 Submitted 1 hour and 3 minutes ago by Hyo
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
15Size
0 Comments
Problem 2713. Circle area using pi
Solution 695828 Submitted 1 hour and 4 minutes ago by Cory Johnson
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 2712. Fahrenheit to Celsius using multiple statements
Solution 695827 Submitted 1 hour and 10 minutes ago by Cory Johnson
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 2711. Assigning a sum
Solution 695826 Submitted 1 hour and 12 minutes ago by Cory Johnson
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 2708. Simple equation: Annual salary
Solution 695825 Submitted 1 hour and 13 minutes ago by Cory Johnson
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 2705. Plus x: A first program
Solution 695824 Submitted 1 hour and 14 minutes ago by Cory Johnson
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
784Size
0 Comments
Problem 42397. Megan's walk
Solution 695823 Submitted 1 hour and 25 minutes ago by Jan Orwat
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
15Size
0 Comments
Problem 1661. Circle area using pi
Solution 695822 Submitted 1 hour and 32 minutes ago by Matt Gray
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 233. Reverse the vector
Solution 695821 Submitted 1 hour and 32 minutes ago by Matt Gray
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 233. Reverse the vector
Solution 695820 Submitted 1 hour and 33 minutes ago by Matt Gray
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 1658. Simple equation: Annual salary
Solution 695819 Submitted 1 hour and 34 minutes ago by Matt Gray
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 32. Most nonzero elements in row
Solution 695818 Submitted 1 hour and 35 minutes ago by Matt Gray
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 32. Most nonzero elements in row
Solution 695817 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.
48Size
0 Comments
Problem 21. Return the 3n+1 sequence for n
Solution 695816 Submitted 1 hour and 39 minutes ago by Matt Gray
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
34Size
0 Comments
Problem 14. Find the numeric mean of the prime numbers in a matrix.
Solution 695814 Submitted 1 hour and 45 minutes ago by Matt Gray
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 14. Find the numeric mean of the prime numbers in a matrix.
Solution 695812 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.
46Size
0 Comments
Problem 12. Fibonacci sequence
Solution 695811 Submitted 1 hour and 49 minutes ago by Matt Gray
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 695810 Submitted 1 hour and 51 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 695809 Submitted 1 hour and 51 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
875Size
0 Comments
Problem 42397. Megan's walk
Solution 695807 Submitted 1 hour and 54 minutes ago by Jan Orwat
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 695806 Submitted 1 hour and 57 minutes ago by Ingrid Coughlin
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
903Size
0 Comments
Problem 42397. Megan's walk
Solution 695805 Submitted 1 hour and 57 minutes ago by Jan Orwat
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 695802 Submitted 2 hours and 2 minutes ago by Ingrid Coughlin
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
73Size
0 Comments
Problem 21. Return the 3n+1 sequence for n
Solution 695800 Submitted 2 hours and 4 minutes ago by Alea88
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
119Size
0 Comments
Problem 9. Who Has the Most Change?
Solution 695799 Submitted 2 hours and 9 minutes ago by Alea88
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 25. Remove any row in which a NaN appears
Solution 695798 Submitted 2 hours and 20 minutes ago by MD. Muhtady Muhaisin
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
37Size
0 Comments
Problem 32. Most nonzero elements in row
Solution 695797 Submitted 2 hours and 22 minutes ago by Alea88
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
1904Size
0 Comments
Problem 42397. Megan's walk
Solution 695796 Submitted 2 hours and 25 minutes ago by Jan Orwat
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
55Size
0 Comments
Problem 14. Find the numeric mean of the prime numbers in a matrix.
Solution 695795 Submitted 2 hours and 35 minutes ago by Alea88
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
2074Size
0 Comments
Problem 42397. Megan's walk
Solution 695794 Submitted 2 hours and 42 minutes ago by Jan Orwat
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
2298Size
0 Comments
Problem 42397. Megan's walk
Solution 695793 Submitted 2 hours and 46 minutes ago by Jan Orwat
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
46Size
0 Comments
Problem 23. Finding Perfect Squares
Solution 695792 Submitted 2 hours and 47 minutes ago by Alea88
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
2428Size
0 Comments
Problem 42397. Megan's walk
Solution 695791 Submitted 2 hours and 49 minutes ago by Jan Orwat
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
46Size
0 Comments
Problem 23. Finding Perfect Squares
Solution 695790 Submitted 2 hours and 50 minutes ago by Alea88
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
2600Size
0 Comments
Problem 42397. Megan's walk
Solution 695789 Submitted 2 hours and 52 minutes ago by Jan Orwat
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
2854Size
0 Comments
Problem 42397. Megan's walk
Solution 695788 Submitted 2 hours and 57 minutes ago by Jan Orwat
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
3096Size
0 Comments
Problem 42397. Megan's walk
Solution 695787 Submitted 3 hours and 1 minute ago by Jan Orwat
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.