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.

10Size
0 Comments
Problem 2784. Y=X
Solution 548727 Submitted just now by Nadya
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 2790. Add 7
Solution 548726 Submitted 1 minute ago by Nadya
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
77Size
0 Comments
Problem 18. Bullseye Matrix
Solution 548725 Submitted 17 minutes ago by Jakub
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
41Size
0 Comments
Problem 16. Return the largest number that is adjacent to a zero
Solution 548724 Submitted 34 minutes ago by Jakub
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 16. Return the largest number that is adjacent to a zero
Solution 548723 Submitted 37 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 115. Distance walked 1D
Solution 548722 Submitted 45 minutes ago by Jakub
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
15Size
0 Comments
Problem 6. Select every other element of a vector
Solution 548721 Submitted 1 hour and 11 minutes ago by rifat 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 2796. Find out Binomial coefficient
Solution 548720 Submitted 2 hours and 17 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 6. Select every other element of a vector
Solution 548719 Submitted 8 hours and 15 minutes ago by Zach Burgess
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 548718 Submitted 9 hours and 10 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 548717 Submitted 9 hours and 11 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 548716 Submitted 9 hours and 15 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 548715 Submitted 9 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.
35Size
0 Comments
Problem 23. Finding Perfect Squares
Solution 548714 Submitted 11 hours and 6 minutes ago by Gabriele Bunkheila
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 8. Add two numbers
Solution 548713 Submitted 11 hours and 16 minutes ago by Gabriele Bunkheila
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 8. Add two numbers
Solution 548712 Submitted 11 hours and 16 minutes ago by Gabriele Bunkheila
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 548711 Submitted 11 hours and 17 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 8. Add two numbers
Solution 548710 Submitted 11 hours and 18 minutes ago by Gabriele Bunkheila
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 8. Add two numbers
Solution 548709 Submitted 11 hours and 18 minutes ago by Gabriele Bunkheila
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 548708 Submitted 11 hours and 20 minutes ago by Gabriele Bunkheila
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
32Size
0 Comments
Problem 19. Swap the first and last columns
Solution 548707 Submitted 11 hours and 32 minutes ago by Gabriele Bunkheila
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 19. Swap the first and last columns
Solution 548706 Submitted 11 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 4. Make a checkerboard matrix
Solution 548705 Submitted 11 hours and 39 minutes ago by Gabriele Bunkheila
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 548704 Submitted 11 hours and 49 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
51Size
0 Comments
Problem 2699. From a given cell array of strings, extract the non-unique strings.
Solution 548703 Submitted 11 hours and 53 minutes ago by Jean-Marie SAINTHILLIER
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 5. Triangle Numbers
Solution 548702 Submitted 11 hours and 54 minutes ago by Gabriele Bunkheila
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 548701 Submitted 11 hours and 56 minutes ago by Gabriele Bunkheila
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 6. Select every other element of a vector
Solution 548700 Submitted 11 hours and 59 minutes ago by Gabriele Bunkheila
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 548699 Submitted 12 hours and 1 minute ago by Gabriele Bunkheila
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 2703. Form a gaussian kernel using matrix size and sigma value
Solution 548698 Submitted 12 hours and 11 minutes ago by Jean-Marie SAINTHILLIER
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 2772. Find out phase angle of second order system.
Solution 548697 Submitted 12 hours and 38 minutes ago by Jean-Marie SAINTHILLIER
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 548696 Submitted 13 hours and 34 minutes ago by Anais
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 33. Create times-tables
Solution 548695 Submitted 13 hours and 39 minutes ago by Anais
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
71Size
0 Comments
Problem 18. Bullseye Matrix
Solution 548694 Submitted 13 hours and 51 minutes ago by Thomas
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 548693 Submitted 13 hours and 52 minutes ago by Anais
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
32Size
0 Comments
Problem 19. Swap the first and last columns
Solution 548692 Submitted 13 hours and 54 minutes ago by Anais
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 548691 Submitted 13 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.
16Size
0 Comments
Problem 1666. Multielement indexing of a row array
Solution 548690 Submitted 14 hours and 1 minute ago by Hari Teja Reddy Peddi Reddy
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 548689 Submitted 14 hours and 2 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 548688 Submitted 14 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.
19Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 548687 Submitted 14 hours and 5 minutes ago by Anais
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 548686 Submitted 14 hours and 5 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 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 548685 Submitted 14 hours and 5 minutes ago by Anais
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 5. Triangle Numbers
Solution 548684 Submitted 14 hours and 7 minutes ago by Anais
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
15Size
0 Comments
Problem 7. Column Removal
Solution 548683 Submitted 14 hours and 8 minutes ago by Anais
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 6. Select every other element of a vector
Solution 548682 Submitted 14 hours and 10 minutes ago by Anais
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 548681 Submitted 14 hours and 11 minutes ago by Anais
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 121. surface of a spherical planet
Solution 548680 Submitted 14 hours and 27 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 121. surface of a spherical planet
Solution 548679 Submitted 14 hours and 28 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 1665. Create a row array using double colon operator
Solution 548678 Submitted 14 hours and 30 minutes ago by Hari Teja Reddy Peddi Reddy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.