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.

Incorrect
0 Comments
Problem 4. Make a checkerboard matrix
Solution 515919 Submitted 53 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 515918 Submitted 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 4. Make a checkerboard matrix
Solution 515917 Submitted 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 141. Solve the Sudoku Row
Solution 515915 Submitted 1 hour and 15 minutes ago by Matthias
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 141. Solve the Sudoku Row
Solution 515914 Submitted 1 hour and 16 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 1974. Length of a short side
Solution 515906 Submitted 2 hours and 51 minutes ago by Joaquin
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 5. Triangle Numbers
Solution 515904 Submitted 3 hours and 18 minutes ago by Joaquin
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 515903 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.
21Size
0 Comments
Problem 2015. Length of the hypotenuse
Solution 515901 Submitted 3 hours and 26 minutes ago by Joaquin
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 515890 Submitted 6 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 515888 Submitted 7 hours and 16 minutes ago by Hamza
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 515876 Submitted 8 hours and 14 minutes ago by Bill Ware
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 515873 Submitted 8 hours and 21 minutes ago by Bill Ware
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 515872 Submitted 8 hours and 24 minutes ago by Edward
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 26. Determine if input is odd
Solution 515871 Submitted 8 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.
22Size
0 Comments
Problem 157. The Hitchhiker's Guide to MATLAB
Solution 515867 Submitted 8 hours and 28 minutes ago by Edward
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 157. The Hitchhiker's Guide to MATLAB
Solution 515866 Submitted 8 hours and 29 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 26. Determine if input is odd
Solution 515862 Submitted 8 hours and 34 minutes ago by Edward
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 26. Determine if input is odd
Solution 515859 Submitted 8 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.
30Size
0 Comments
Problem 2021. Is this triangle right-angled?
Solution 515847 Submitted 9 hours and 33 minutes ago by David
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2395. Simple Past of Regular Verbs
Solution 515839 Submitted 9 hours and 39 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 2527. Cull vector elements that contain a specified digit
Solution 515815 Submitted 10 hours and 21 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 1638. JOIN STRINGS
Solution 515810 Submitted 10 hours and 28 minutes ago by Debopam
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1638. JOIN STRINGS
Solution 515808 Submitted 10 hours and 29 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 1858. User defined nextpow function
Solution 515804 Submitted 10 hours and 39 minutes ago by Z
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 26. Determine if input is odd
Solution 515794 Submitted 11 hours and 5 minutes ago by Torben Ellegaard Lund
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 515779 Submitted 11 hours and 25 minutes ago by sejo
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 515778 Submitted 11 hours and 26 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 189. Sum all integers from 1 to 2^n
Solution 515777 Submitted 11 hours and 29 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 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 515772 Submitted 11 hours and 41 minutes ago by T
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 515770 Submitted 11 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.
25Size
0 Comments
Problem 26. Determine if input is odd
Solution 515767 Submitted 11 hours and 58 minutes ago by Stefan van Eijk
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 382. Leaking?
Solution 515751 Submitted 12 hours and 14 minutes ago by Grant
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 382. Leaking?
Solution 515750 Submitted 12 hours and 15 minutes ago by Grant
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 515735 Submitted 13 hours and 4 minutes ago by Bouhraoua
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 26. Determine if input is odd
Solution 515731 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.
Incorrect
0 Comments
Problem 26. Determine if input is odd
Solution 515729 Submitted 13 hours and 16 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 25. Remove any row in which a NaN appears
Solution 515724 Submitted 13 hours and 27 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 26. Determine if input is odd
Solution 515723 Submitted 13 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.
22Size
0 Comments
Problem 26. Determine if input is odd
Solution 515714 Submitted 13 hours and 46 minutes ago by Lukas
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 515713 Submitted 13 hours and 51 minutes ago by Lukas
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 515707 Submitted 13 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 645. Getting the indices from a vector
Solution 515682 Submitted 14 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 5. Triangle Numbers
Solution 515667 Submitted 14 hours and 51 minutes ago by Markus
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 5. Triangle Numbers
Solution 515664 Submitted 14 hours and 54 minutes ago by Markus
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 515658 Submitted 15 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 1659. Fahrenheit to Celsius using multiple statements
Solution 515623 Submitted 16 hours and 14 minutes ago by Alexander
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 157. The Hitchhiker's Guide to MATLAB
Solution 515622 Submitted 16 hours and 15 minutes ago by Andreas
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 515613 Submitted 16 hours and 30 minutes ago by Darren
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 515611 Submitted 16 hours and 31 minutes ago by Darren
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.