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.

Incorrect
0 Comments
Problem 233. Reverse the vector
Solution 895400 Submitted 1 hour 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 233. Reverse the vector
Solution 895399 Submitted 1 hour 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 26. Determine if input is odd
Solution 895393 Submitted 1 hour 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 5. Triangle Numbers
Solution 895235 Submitted 8 hours and 30 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 174. Roll the Dice!
Solution 895220 Submitted 9 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.
20Size
0 Comments
Problem 174. Roll the Dice!
Solution 895214 Submitted 9 hours and 11 minutes ago by Venkatapathi
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 895198 Submitted 10 hours and 8 minutes ago by Sumit Kumar
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2017. Side of an equilateral triangle
Solution 895183 Submitted 10 hours and 26 minutes ago by Francisco
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2017. Side of an equilateral triangle
Solution 895181 Submitted 10 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 174. Roll the Dice!
Solution 894947 Submitted 21 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 3. Find the sum of all the numbers of the input vector
Solution 894888 Submitted 22 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.
Incorrect
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 894867 Submitted 22 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 189. Sum all integers from 1 to 2^n
Solution 894822 Submitted 23 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 894779 Submitted 23 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 26. Determine if input is odd
Solution 894776 Submitted 23 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.
20Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 894765 Submitted 23 hours and 44 minutes ago by Anish Rastogi
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 42474. Model a mass spring system
Solution 894736 Submitted 23 hours and 56 minutes ago by Mike Kruskal
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 894735 Submitted 23 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 7. Column Removal
Solution 894734 Submitted 23 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 7. Column Removal
Solution 894718 Submitted on 24 May 2016 at 19:18
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 42477. Model a simple pendulum
Solution 894705 Submitted on 24 May 2016 at 19:13 by Mike Kruskal
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 894572 Submitted on 24 May 2016 at 18:07
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 894571 Submitted on 24 May 2016 at 18:07
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 894567 Submitted on 24 May 2016 at 18:06
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 894559 Submitted on 24 May 2016 at 18:05
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 42550. Bridge toll
Solution 894544 Submitted on 24 May 2016 at 17:54 by HH
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 106. Weighted average
Solution 894490 Submitted on 24 May 2016 at 16:59 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 42850. Sum two real numbers
Solution 894417 Submitted on 24 May 2016 at 15:44
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 525. Mersenne Primes
Solution 894374 Submitted on 24 May 2016 at 14:52 by Daniel Pereira
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42324. Accessing value of variable whose name is stored in another variable as string.
Solution 894307 Submitted on 24 May 2016 at 13:44
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 42550. Bridge toll
Solution 894291 Submitted on 24 May 2016 at 13:32 by Daniel Pereira
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 894265 Submitted on 24 May 2016 at 13:14 by pie
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 894160 Submitted on 24 May 2016 at 10:51
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 894122 Submitted on 24 May 2016 at 9:51
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 894120 Submitted on 24 May 2016 at 9:41
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42788. Rearrange string
Solution 894077 Submitted on 24 May 2016 at 8:32
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 894051 Submitted on 24 May 2016 at 5:23 by biu bill
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 894017 Submitted on 24 May 2016 at 2:12
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 894016 Submitted on 24 May 2016 at 2:12
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 893936 Submitted on 23 May 2016 at 20:51
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 893929 Submitted on 23 May 2016 at 20:33
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 893926 Submitted on 23 May 2016 at 20:32
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 893925 Submitted on 23 May 2016 at 20:32
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 22. Remove the vowels
Solution 893861 Submitted on 23 May 2016 at 17:47
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 129. All capital?
Solution 893809 Submitted on 23 May 2016 at 16:25 by Francisco
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 893770 Submitted on 23 May 2016 at 15:00 by Vince Jankovics
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2727. Population growth
Solution 893757 Submitted on 23 May 2016 at 14:07 by Rathin 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 42579. Number of pennies
Solution 893700 Submitted on 23 May 2016 at 12:07
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 30. Sort a list of complex numbers based on far they are from the origin.
Solution 893581 Submitted on 23 May 2016 at 6: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 19. Swap the first and last columns
Solution 893370 Submitted on 22 May 2016 at 14:32
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.