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

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.

21Size
0 Comments
Problem 1798. 03 - Matrix Variables 2
Solution 494887 Submitted 5 minutes ago by Andreas Diechmann
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 1798. 03 - Matrix Variables 2
Solution 494885 Submitted 6 minutes ago by Andreas Diechmann
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 50. QWERTY coordinates
Solution 494880 Submitted 11 minutes ago by Dan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1798. 03 - Matrix Variables 2
Solution 494877 Submitted 14 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 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 494874 Submitted 16 minutes ago by karan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 494872 Submitted 17 minutes ago by karan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 1790. 01 - Scalar variables
Solution 494827 Submitted 1 hour and 51 minutes ago by Andreas Diechmann
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 158. Is my wife right? Now with even more wrong husband
Solution 494821 Submitted 2 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.
24Size
0 Comments
Problem 174. Roll the Dice!
Solution 494818 Submitted 2 hours and 45 minutes ago by Vanessa
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 494816 Submitted 2 hours and 51 minutes ago by Vanessa
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 494815 Submitted 2 hours and 52 minutes ago by Vanessa
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 5. Triangle Numbers
Solution 494812 Submitted 3 hours and 21 minutes ago by Cameron
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 157. The Hitchhiker's Guide to MATLAB
Solution 494807 Submitted 4 hours and 43 minutes ago by Shriramprasad Venkatesan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 157. The Hitchhiker's Guide to MATLAB
Solution 494806 Submitted 4 hours and 45 minutes ago by Shriramprasad Venkatesan
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 494805 Submitted 4 hours and 49 minutes ago by Cameron
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 494802 Submitted 5 hours and 2 minutes ago by Cameron
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 2018. Side of a rhombus
Solution 494801 Submitted 5 hours and 3 minutes ago by Shriramprasad Venkatesan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2018. Side of a rhombus
Solution 494799 Submitted 5 hours and 4 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 2019. Dimensions of a rectangle
Solution 494786 Submitted 6 hours and 18 minutes ago by Shriramprasad Venkatesan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 2020. Area of an Isoceles Triangle
Solution 494783 Submitted 6 hours and 28 minutes ago by Shriramprasad Venkatesan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 1974. Length of a short side
Solution 494782 Submitted 6 hours and 30 minutes ago by Shriramprasad Venkatesan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 1974. Length of a short side
Solution 494780 Submitted 6 hours and 31 minutes ago by Shriramprasad Venkatesan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2015. Length of the hypotenuse
Solution 494777 Submitted 6 hours and 33 minutes ago by Shriramprasad Venkatesan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2021. Is this triangle right-angled?
Solution 494774 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.
22Size
0 Comments
Problem 2530. Powers Of
Solution 494764 Submitted 7 hours and 37 minutes ago by George Berken
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 2507. Delete 2nd and 5th column of Given 6*6 matrix
Solution 494744 Submitted 8 hours and 27 minutes ago by George Berken
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 2532. Generate vector according to sign of vector
Solution 494742 Submitted 8 hours and 49 minutes ago by George Berken
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 494740 Submitted 8 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.
23Size
0 Comments
Problem 2541. Eight queens puzzle
Solution 494717 Submitted 14 hours and 16 minutes ago by Ziko
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 5. Triangle Numbers
Solution 494709 Submitted 14 hours and 55 minutes ago by Sam
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1749. Factorial !
Solution 494699 Submitted 17 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 1749. Factorial !
Solution 494698 Submitted 17 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.
23Size
0 Comments
Problem 1172. Wheat on a chessboard pt 1
Solution 494694 Submitted 17 hours and 44 minutes ago by Peter Cook
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1172. Wheat on a chessboard pt 1
Solution 494693 Submitted 17 hours and 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 1172. Wheat on a chessboard pt 1
Solution 494692 Submitted 17 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.
Incorrect
0 Comments
Problem 1172. Wheat on a chessboard pt 1
Solution 494691 Submitted 17 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.
22Size
0 Comments
Problem 1663. Pizza value using expression with parentheses
Solution 494687 Submitted 17 hours and 55 minutes ago by Jared Souza
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1663. Pizza value using expression with parentheses
Solution 494686 Submitted 17 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 1663. Pizza value using expression with parentheses
Solution 494683 Submitted 17 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 1663. Pizza value using expression with parentheses
Solution 494682 Submitted 18 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.
22Size
0 Comments
Problem 1693. Calculate distance travelled when given radius and rotations
Solution 494677 Submitted 18 hours and 6 minutes ago by Peter Cook
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 2104. construct matrix with identical rows
Solution 494674 Submitted 18 hours and 9 minutes ago by Peter Cook
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 2104. construct matrix with identical rows
Solution 494673 Submitted 18 hours and 9 minutes ago by Peter Cook
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 1659. Fahrenheit to Celsius using multiple statements
Solution 494671 Submitted 18 hours and 43 minutes ago by Caroline
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 494668 Submitted 19 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 4. Make a checkerboard matrix
Solution 494667 Submitted 19 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 4. Make a checkerboard matrix
Solution 494666 Submitted 19 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.
20Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 494643 Submitted 20 hours and 27 minutes ago by Cam
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 2096. Perfect Square or not
Solution 494632 Submitted 20 hours and 53 minutes ago by ahmed
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2096. Perfect Square or not
Solution 494631 Submitted 20 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.