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.

20Size
0 Comments
Problem 167. Pizza!
Solution 898615 Submitted 10 hours and 18 minutes ago by Pietro Kumarapperuma
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 39. Which values occur exactly three times?
Solution 898608 Submitted 10 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 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 898553 Submitted 13 hours and 31 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 898380 Submitted on 30 May 2016 at 6:38 by Pietro Kumarapperuma
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 157. The Hitchhiker's Guide to MATLAB
Solution 898308 Submitted on 29 May 2016 at 20:15 by andrew robson
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42543. Compute change
Solution 898200 Submitted on 29 May 2016 at 7:49
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 898140 Submitted on 29 May 2016 at 4:17 by Jackson Scroggs
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 157. The Hitchhiker's Guide to MATLAB
Solution 897976 Submitted on 28 May 2016 at 19:04 by Shayan Majidy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 42560. Writing a while loop
Solution 897791 Submitted on 28 May 2016 at 8:58 by Atsushi Ueno
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 897789 Submitted on 28 May 2016 at 8:51 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 167. Pizza!
Solution 897755 Submitted on 28 May 2016 at 5:56
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 897734 Submitted on 28 May 2016 at 5:32 by Jessica Fuller
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42561. While loop with multiple conditions
Solution 897716 Submitted on 28 May 2016 at 3:59
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 897659 Submitted on 27 May 2016 at 22:41 by Shayan Majidy
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 897642 Submitted on 27 May 2016 at 21:45 by Shayan Majidy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 41. Cell joiner
Solution 897602 Submitted on 27 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.
20Size
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 897594 Submitted on 27 May 2016 at 19:46 by liz
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2729. Tree Height
Solution 897413 Submitted on 27 May 2016 at 15:33 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 2754. Indexing the last element: Print queue
Solution 897357 Submitted on 27 May 2016 at 14: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 2728. Coordinate geometry
Solution 897276 Submitted on 27 May 2016 at 14:23 by Atsushi Ueno
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2746. Integer indexing array: Weekend box office
Solution 897154 Submitted on 27 May 2016 at 13:26 by Karen Yee
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2843. Logical operators: Flipping bits
Solution 896954 Submitted on 27 May 2016 at 10: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 2843. Logical operators: Flipping bits
Solution 896953 Submitted on 27 May 2016 at 10:29
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42801. means
Solution 896880 Submitted on 27 May 2016 at 9: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 42801. means
Solution 896879 Submitted on 27 May 2016 at 9:00
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 896777 Submitted on 27 May 2016 at 6:19 by Ningfeng Yang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 120. radius of a spherical planet
Solution 896757 Submitted on 27 May 2016 at 6:13 by Kyle Russell
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 120. radius of a spherical planet
Solution 896756 Submitted on 27 May 2016 at 6:12
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 34. Binary numbers
Solution 896691 Submitted on 27 May 2016 at 5:38 by Marcial Guerra
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 896647 Submitted on 27 May 2016 at 5:05 by Dat Nguyen
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 896641 Submitted on 27 May 2016 at 5:00
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 14. Find the numeric mean of the prime numbers in a matrix.
Solution 896534 Submitted on 27 May 2016 at 3:43 by Dennis Winston
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 896496 Submitted on 27 May 2016 at 3:22
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 896399 Submitted on 27 May 2016 at 2:16
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 123. Tell me the slope
Solution 896365 Submitted on 27 May 2016 at 1:42
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 5. Triangle Numbers
Solution 896224 Submitted on 26 May 2016 at 23:33 by Olivier Montmayeur
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 896185 Submitted on 26 May 2016 at 22:18 by kiwi
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 1974. Length of a short side
Solution 896133 Submitted on 26 May 2016 at 20:51 by Timothy Greco
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2015. Length of the hypotenuse
Solution 896132 Submitted on 26 May 2016 at 20:50 by Timothy Greco
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 896125 Submitted on 26 May 2016 at 20:32 by Karen Yee
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 896096 Submitted on 26 May 2016 at 20:04
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 895998 Submitted on 26 May 2016 at 18:54 by Karen Yee
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 895957 Submitted on 26 May 2016 at 18:25
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 895915 Submitted on 26 May 2016 at 16:40 by Karen Yee
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 895900 Submitted on 26 May 2016 at 15:43 by Rahul Garg
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 895884 Submitted on 26 May 2016 at 15:00 by Yu Zhang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 895804 Submitted on 26 May 2016 at 12:56 by Grace 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 895769 Submitted on 26 May 2016 at 11:02
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 20. Summing digits
Solution 895638 Submitted on 26 May 2016 at 0: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 5. Triangle Numbers
Solution 895618 Submitted on 25 May 2016 at 23:57
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.