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.

23Size
0 Comments
Problem 7. Column Removal
Solution 927107 Submitted 13 hours and 23 minutes ago by Nicolas BERNARD
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 28. Counting Money
Solution 927088 Submitted 13 hours and 59 minutes ago by Jamie Muir
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 2154. Distances in a circle
Solution 927086 Submitted 14 hours and 3 minutes ago by Atsushi Ueno
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 927080 Submitted 14 hours and 16 minutes ago by Nard
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 927079 Submitted 14 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.
Incorrect
0 Comments
Problem 2215. Power supply: 230V to 115V
Solution 927076 Submitted 14 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 2215. Power supply: 230V to 115V
Solution 927075 Submitted 14 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.
29Size
0 Comments
Problem 26. Determine if input is odd
Solution 927043 Submitted 16 hours and 51 minutes ago by Si Chen
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 927042 Submitted 16 hours and 53 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 189. Sum all integers from 1 to 2^n
Solution 927039 Submitted 17 hours and 40 minutes ago by wu
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 927033 Submitted 18 hours and 1 minute ago by aman
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 38. Return a list sorted by number of occurrences
Solution 927032 Submitted 18 hours and 8 minutes ago by TurqoiseInt
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 927016 Submitted 19 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.
23Size
1 Comment
Problem 23. Finding Perfect Squares
Solution 927012 Submitted 19 hours and 48 minutes ago by Zhang Liang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 33. Create times-tables
Solution 927005 Submitted 20 hours and 2 minutes ago by Zhang Liang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 19. Swap the first and last columns
Solution 927001 Submitted 20 hours and 9 minutes ago by Zhang Liang
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 926995 Submitted 20 hours and 48 minutes ago by Zhang Liang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 7. Column Removal
Solution 926992 Submitted 20 hours and 50 minutes ago by Zhang Liang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 14. Find the numeric mean of the prime numbers in a matrix.
Solution 926979 Submitted 21 hours and 51 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
1 Comment
Problem 19. Swap the first and last columns
Solution 926968 Submitted on 25 Jul 2016 at 1:24
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 926964 Submitted on 25 Jul 2016 at 0:28
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 926957 Submitted on 25 Jul 2016 at 0:20
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 926956 Submitted on 25 Jul 2016 at 0:20 by John BG
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 926955 Submitted on 25 Jul 2016 at 0:19
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 926954 Submitted on 25 Jul 2016 at 0:18
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 926951 Submitted on 24 Jul 2016 at 21:59
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 926950 Submitted on 24 Jul 2016 at 21:58
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 926947 Submitted on 24 Jul 2016 at 21:55 by Mrunal Joshi
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 926946 Submitted on 24 Jul 2016 at 21:55
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 926945 Submitted on 24 Jul 2016 at 21:54
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 926944 Submitted on 24 Jul 2016 at 21:53 by Mrunal Joshi
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 926943 Submitted on 24 Jul 2016 at 21:52 by Mrunal Joshi
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 926924 Submitted on 24 Jul 2016 at 20:53
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 926915 Submitted on 24 Jul 2016 at 20:42
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 926913 Submitted on 24 Jul 2016 at 20:41
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 926911 Submitted on 24 Jul 2016 at 20:39 by Mackenzie Stone
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 926909 Submitted on 24 Jul 2016 at 20:35
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 926907 Submitted on 24 Jul 2016 at 20:32
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 926906 Submitted on 24 Jul 2016 at 20:32 by Mackenzie Stone
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 926899 Submitted on 24 Jul 2016 at 20:17 by Si Chen
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 42914. Counting the Grand Primes
Solution 926891 Submitted on 24 Jul 2016 at 19:05 by Tim
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
1 Comment
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 926888 Submitted on 24 Jul 2016 at 17:53 by Ethan Colaizzi
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 926887 Submitted on 24 Jul 2016 at 17:51 by Ethan Colaizzi
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 926875 Submitted on 24 Jul 2016 at 16:58
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 926872 Submitted on 24 Jul 2016 at 16:52 by Ethan Colaizzi
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 926871 Submitted on 24 Jul 2016 at 16:52
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 109. Check if sorted
Solution 926869 Submitted on 24 Jul 2016 at 16:47 by martin non
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 109. Check if sorted
Solution 926868 Submitted on 24 Jul 2016 at 16:47
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 926866 Submitted on 24 Jul 2016 at 16:38
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 926858 Submitted on 24 Jul 2016 at 16:19
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.