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 109. Check if sorted
Solution 913296 Submitted on 22 Jun 2016 at 8:38
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 135. inner product of two vectors
Solution 913251 Submitted on 22 Jun 2016 at 7:53 by Georgia Colbran
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 135. inner product of two vectors
Solution 913250 Submitted on 22 Jun 2016 at 7:52 by Brad Hauville
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 167. Pizza!
Solution 913199 Submitted on 22 Jun 2016 at 7:26
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 913118 Submitted on 22 Jun 2016 at 5:19 by Alex Carter
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 912907 Submitted on 22 Jun 2016 at 3:15 by dannytt
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 912905 Submitted on 22 Jun 2016 at 3:14 by Josh 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 167. Pizza!
Solution 912837 Submitted on 22 Jun 2016 at 2:31
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 167. Pizza!
Solution 912831 Submitted on 22 Jun 2016 at 2:29 by Daniel E. Loza Morales
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 912747 Submitted on 22 Jun 2016 at 1: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 1. Times 2 - START HERE
Solution 912715 Submitted on 22 Jun 2016 at 1:09
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 912688 Submitted on 21 Jun 2016 at 23: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 189. Sum all integers from 1 to 2^n
Solution 912687 Submitted on 21 Jun 2016 at 23:31
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 912615 Submitted on 21 Jun 2016 at 19:11
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 912613 Submitted on 21 Jun 2016 at 19:08
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 912612 Submitted on 21 Jun 2016 at 19: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 241. Project Euler: Problem 7, Nth prime
Solution 912591 Submitted on 21 Jun 2016 at 17:59 by Debbie
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 241. Project Euler: Problem 7, Nth prime
Solution 912590 Submitted on 21 Jun 2016 at 17:58
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 6. Select every other element of a vector
Solution 912582 Submitted on 21 Jun 2016 at 17:47 by Rajiv Gandhi
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 912568 Submitted on 21 Jun 2016 at 17:37
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 912564 Submitted on 21 Jun 2016 at 17:35
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 912508 Submitted on 21 Jun 2016 at 16:46 by Kirby Fears
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 912476 Submitted on 21 Jun 2016 at 16:27 by Oriel Nofekh
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 912302 Submitted on 21 Jun 2016 at 12:09
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 912291 Submitted on 21 Jun 2016 at 12:00
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 912286 Submitted on 21 Jun 2016 at 11:55
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 731. Given a window, how many subsets of a vector sum positive
Solution 912282 Submitted on 21 Jun 2016 at 11:40 by Atsushi Ueno
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 158. Is my wife right? Now with even more wrong husband
Solution 912075 Submitted on 21 Jun 2016 at 5:40
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 158. Is my wife right? Now with even more wrong husband
Solution 912073 Submitted on 21 Jun 2016 at 5:39
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 13. Remove all the consonants
Solution 912055 Submitted on 21 Jun 2016 at 5:17 by Harry Cameron
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 167. Pizza!
Solution 912039 Submitted on 21 Jun 2016 at 4:45
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 304. Bottles of beer
Solution 912020 Submitted on 21 Jun 2016 at 4:15 by rhys astbury
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 911962 Submitted on 21 Jun 2016 at 3:30
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 911867 Submitted on 21 Jun 2016 at 2:25 by Devin Peiris
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 22. Remove the vowels
Solution 911834 Submitted on 21 Jun 2016 at 1:23 by Harry Cameron
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 911833 Submitted on 21 Jun 2016 at 1:23
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 32. Most nonzero elements in row
Solution 911823 Submitted on 21 Jun 2016 at 0:17
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 1666. Multielement indexing of a row array
Solution 911792 Submitted on 20 Jun 2016 at 22:47 by andrew robson
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 911712 Submitted on 20 Jun 2016 at 18:58 by Chamidu Fernando
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 911689 Submitted on 20 Jun 2016 at 17: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 26. Determine if input is odd
Solution 911669 Submitted on 20 Jun 2016 at 16:10
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 911668 Submitted on 20 Jun 2016 at 16:09
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2900. solve for y that is half as much as three less than one tenth of x
Solution 911650 Submitted on 20 Jun 2016 at 15:50
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2900. solve for y that is half as much as three less than one tenth of x
Solution 911649 Submitted on 20 Jun 2016 at 15:50
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 3000. Finding the volume of a basketball.
Solution 911634 Submitted on 20 Jun 2016 at 15:40
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2956. sum of the first 10 odd numbers
Solution 911613 Submitted on 20 Jun 2016 at 15:23
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42737. Spherical Volume
Solution 911593 Submitted on 20 Jun 2016 at 15:04
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 911458 Submitted on 20 Jun 2016 at 11:52
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 911455 Submitted on 20 Jun 2016 at 11:48
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 911442 Submitted on 20 Jun 2016 at 11:30
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.