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.

Incorrect
0 Comments
Problem 233. Reverse the vector
Solution 660197 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.
Incorrect
0 Comments
Problem 233. Reverse the vector
Solution 660195 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.
21Size
0 Comments
Problem 8. Add two numbers
Solution 660192 Submitted 6 hours and 3 minutes ago by Jose
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 8. Add two numbers
Solution 660191 Submitted 6 hours and 3 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 486. Surface Fit z(x,y)
Solution 660152 Submitted 8 hours and 22 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.
20Size
0 Comments
Problem 42263. Calculate the logarithm of number
Solution 660139 Submitted 9 hours and 42 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.
25Size
0 Comments
Problem 73. Replace NaNs with the number that appears to its left in the row.
Solution 660118 Submitted 10 hours and 34 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.
Incorrect
0 Comments
Problem 5. Triangle Numbers
Solution 660077 Submitted 11 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 5. Triangle Numbers
Solution 660075 Submitted 11 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.
24Size
0 Comments
Problem 30. Sort a list of complex numbers based on far they are from the origin.
Solution 660074 Submitted 12 hours and 21 minutes ago by Carlos Gálvez del Postigo
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 20. Summing digits
Solution 660073 Submitted 12 hours and 23 minutes ago by Carlos Gálvez del Postigo
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 20. Summing digits
Solution 660072 Submitted 12 hours and 24 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 20. Summing digits
Solution 660071 Submitted 12 hours and 24 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 9. Who Has the Most Change?
Solution 660069 Submitted 12 hours and 28 minutes ago by Carlos Gálvez del Postigo
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 660067 Submitted 12 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 34. Binary numbers
Solution 660026 Submitted 13 hours and 6 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 138. Number of 1s in the Binary Representation of a Number
Solution 660021 Submitted 13 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.
21Size
0 Comments
Problem 2711. Assigning a sum
Solution 660020 Submitted 13 hours and 15 minutes ago by Chellammai C
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 350. Back to basics 7 - Equal NaNs
Solution 660015 Submitted 13 hours and 25 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 2022. Find a Pythagorean triple
Solution 659994 Submitted 13 hours and 51 minutes ago by Niels
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 2022. Find a Pythagorean triple
Solution 659984 Submitted 13 hours and 59 minutes ago by Niels
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 2022. Find a Pythagorean triple
Solution 659981 Submitted 14 hours and 2 minutes ago by Niels
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
1 Comment
Problem 2022. Find a Pythagorean triple
Solution 659973 Submitted 14 hours and 11 minutes ago by Niels
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 34. Binary numbers
Solution 659943 Submitted 14 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.
Incorrect
0 Comments
Problem 34. Binary numbers
Solution 659938 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.
Incorrect
0 Comments
Problem 34. Binary numbers
Solution 659936 Submitted 14 hours and 38 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 23. Finding Perfect Squares
Solution 659934 Submitted 14 hours and 39 minutes ago by Sergej Pauli
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 12. Fibonacci sequence
Solution 659912 Submitted 14 hours and 54 minutes ago by Grzegorz Popek
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 659910 Submitted 14 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.
22Size
0 Comments
Problem 42255. Volume of Cylinder
Solution 659890 Submitted 15 hours and 13 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.
Incorrect
0 Comments
Problem 42. Find the alphabetic word product
Solution 659878 Submitted 15 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.
Incorrect
0 Comments
Problem 42. Find the alphabetic word product
Solution 659875 Submitted 15 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.
20Size
0 Comments
Problem 2498. Whole Number Concatenator
Solution 659843 Submitted 16 hours and 1 minute ago by Gergely Patay
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 37. Pascal's Triangle
Solution 659837 Submitted 16 hours and 16 minutes ago by EiGeN
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 37. Pascal's Triangle
Solution 659836 Submitted 16 hours and 17 minutes ago by EiGeN
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 659829 Submitted 16 hours and 28 minutes ago by Ivan Ivanov
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 2746. Integer indexing array: Weekend box office
Solution 659792 Submitted 17 hours and 42 minutes ago by Chellammai C
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2746. Integer indexing array: Weekend box office
Solution 659791 Submitted 17 hours and 43 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 1578. Volume and area of a sphere
Solution 659789 Submitted 17 hours and 45 minutes ago by Chellammai C
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 844. Find files with extension ext in the current directory
Solution 659783 Submitted 18 hours and 12 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.
Incorrect
0 Comments
Problem 844. Find files with extension ext in the current directory
Solution 659781 Submitted 18 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 844. Find files with extension ext in the current directory
Solution 659777 Submitted 18 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 844. Find files with extension ext in the current directory
Solution 659776 Submitted 18 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 844. Find files with extension ext in the current directory
Solution 659775 Submitted 18 hours and 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 844. Find files with extension ext in the current directory
Solution 659773 Submitted 18 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 12. Fibonacci sequence
Solution 659769 Submitted 18 hours and 50 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 42255. Volume of Cylinder
Solution 659768 Submitted 18 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 844. Find files with extension ext in the current directory
Solution 659766 Submitted 18 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.
Incorrect
0 Comments
Problem 5. Triangle Numbers
Solution 659761 Submitted 18 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 844. Find files with extension ext in the current directory
Solution 659760 Submitted 19 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.