Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB 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.

15Size
0 Comments
Problem 106. Weighted average
Solution 927846 Submitted 6 hours and 18 minutes ago by Mike
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
76Size
0 Comments
Problem 12. Fibonacci sequence
Solution 927844 Submitted 6 hours and 19 minutes ago by Ian McKeag
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 23. Finding Perfect Squares
Solution 927843 Submitted 6 hours and 22 minutes ago by Mike
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 927842 Submitted 6 hours and 32 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 22. Remove the vowels
Solution 927841 Submitted 6 hours and 34 minutes ago by Mike
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 927840 Submitted 6 hours and 35 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 927839 Submitted 6 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.
22Size
0 Comments
Problem 22. Remove the vowels
Solution 927838 Submitted 6 hours and 37 minutes ago by Mike
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 1658. Simple equation: Annual salary
Solution 927837 Submitted 6 hours and 37 minutes ago by Ian McKeag
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 927836 Submitted 6 hours and 40 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 7. Column Removal
Solution 927835 Submitted 6 hours and 40 minutes ago by Ian McKeag
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 22. Remove the vowels
Solution 927834 Submitted 6 hours and 42 minutes ago by Mike
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 927833 Submitted 6 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.
Incorrect
0 Comments
Problem 7. Column Removal
Solution 927832 Submitted 6 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.
Incorrect
0 Comments
Problem 7. Column Removal
Solution 927831 Submitted 6 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.
32Size
0 Comments
Problem 22. Remove the vowels
Solution 927830 Submitted 6 hours and 44 minutes ago by Mike
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
33Size
0 Comments
Problem 33. Create times-tables
Solution 927829 Submitted 6 hours and 44 minutes ago by Yunpeng Wang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1400. Spiral Matrix
Solution 927828 Submitted 6 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.
Incorrect
0 Comments
Problem 33. Create times-tables
Solution 927827 Submitted 6 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.
Incorrect
0 Comments
Problem 26. Determine if input is odd
Solution 927826 Submitted 6 hours and 48 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 927825 Submitted 6 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.
Incorrect
0 Comments
Problem 26. Determine if input is odd
Solution 927824 Submitted 6 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.
23Size
0 Comments
Problem 30. Sort a list of complex numbers based on far they are from the origin.
Solution 927823 Submitted 6 hours and 51 minutes ago by Mike
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 30. Sort a list of complex numbers based on far they are from the origin.
Solution 927822 Submitted 6 hours and 52 minutes ago by Mike
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
96Size
0 Comments
Problem 18. Bullseye Matrix
Solution 927821 Submitted 6 hours and 54 minutes ago by K
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 42546. Sum function: Counting cookies
Solution 927820 Submitted 6 hours and 54 minutes ago by Stephanie O'Neil
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 927819 Submitted 6 hours and 55 minutes ago by David Gottschalt
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
43Size
0 Comments
Problem 42570. Modify an array's elements
Solution 927818 Submitted 6 hours and 55 minutes ago by Stephanie O'Neil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 236. newRMS
Solution 927817 Submitted 6 hours and 57 minutes ago by Stephanie O'Neil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
48Size
0 Comments
Problem 12. Fibonacci sequence
Solution 927816 Submitted 6 hours and 59 minutes ago by Yunpeng Wang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 7244. Times 3 problem
Solution 927815 Submitted 7 hours and 1 minute ago by Stephanie O'Neil
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 927814 Submitted 7 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.
11Size
0 Comments
Problem 2412. Is My Wife Wrong?
Solution 927812 Submitted 7 hours and 1 minute ago by Stephanie O'Neil
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 927811 Submitted 7 hours and 1 minute ago by Nick Harvey
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
32Size
0 Comments
Problem 403. Einsteinium-253 decay
Solution 927810 Submitted 7 hours and 2 minutes ago by Stephanie O'Neil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 403. Einsteinium-253 decay
Solution 927809 Submitted 7 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 26. Determine if input is odd
Solution 927807 Submitted 7 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.
Incorrect
0 Comments
Problem 403. Einsteinium-253 decay
Solution 927806 Submitted 7 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.
12Size
0 Comments
Problem 304. Bottles of beer
Solution 927805 Submitted 7 hours and 4 minutes ago by Ian McKeag
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 927804 Submitted 7 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.
Incorrect
0 Comments
Problem 26. Determine if input is odd
Solution 927803 Submitted 7 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.
Incorrect
0 Comments
Problem 26. Determine if input is odd
Solution 927802 Submitted 7 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 26. Determine if input is odd
Solution 927801 Submitted 7 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 26. Determine if input is odd
Solution 927800 Submitted 7 hours and 7 minutes ago
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 927799 Submitted 7 hours and 10 minutes ago by Mike
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 927798 Submitted 7 hours and 10 minutes ago by Ian McKeag
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 30. Sort a list of complex numbers based on far they are from the origin.
Solution 927797 Submitted 7 hours and 13 minutes ago by Mike
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 1918. ベクトルのスケーリング
Solution 927796 Submitted 7 hours and 13 minutes ago by Stephanie O'Neil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
31Size
0 Comments
Problem 30. Sort a list of complex numbers based on far they are from the origin.
Solution 927795 Submitted 7 hours and 14 minutes ago by Mike
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 927793 Submitted 7 hours and 15 minutes ago by Emily Kliewer
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.