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 2593. Polite numbers. N-th polite number.
Solution 927418 Submitted 51 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 2056. Is this number Munchhausen Narcissistic?
Solution 927405 Submitted 58 minutes ago by Martin
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 927384 Submitted 1 hour and 22 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 927383 Submitted 1 hour and 23 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 927382 Submitted 1 hour and 24 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 927302 Submitted 11 hours and 57 minutes ago by Frances Buist
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1090. Create a random logical vector of N elements of which M are true.
Solution 927260 Submitted 14 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.
20Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 927229 Submitted 14 hours and 43 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.
20Size
0 Comments
Problem 42548. Luggage delivery
Solution 927197 Submitted 15 hours and 40 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.
20Size
0 Comments
Problem 64. The Goldbach Conjecture, Part 2
Solution 927196 Submitted 15 hours and 50 minutes ago by John D'Errico
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 23 hours and 44 minutes ago by aman
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.
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.
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.
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.
Incorrect
0 Comments
Problem 42850. Sum two real numbers
Solution 926847 Submitted on 24 Jul 2016 at 15:49
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 27. Pangrams!
Solution 926790 Submitted on 24 Jul 2016 at 14: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 27. Pangrams!
Solution 926785 Submitted on 24 Jul 2016 at 14:05
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 926782 Submitted on 24 Jul 2016 at 14: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 27. Pangrams!
Solution 926781 Submitted on 24 Jul 2016 at 13:57
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2847. Function definition: BMI calculator
Solution 926653 Submitted on 23 Jul 2016 at 20:11
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 926602 Submitted on 23 Jul 2016 at 8:41 by Kuruvilla Mani
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 1423. sinus function
Solution 926307 Submitted on 22 Jul 2016 at 14:48 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 1423. sinus function
Solution 926297 Submitted on 22 Jul 2016 at 14:03 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 2862. Matlab Basics - Pick out parts of a vector
Solution 926256 Submitted on 22 Jul 2016 at 12:46
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2862. Matlab Basics - Pick out parts of a vector
Solution 926254 Submitted on 22 Jul 2016 at 12:46
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2723. Multi-line comments
Solution 926206 Submitted on 22 Jul 2016 at 11:06 by TurqoiseInt
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 926194 Submitted on 22 Jul 2016 at 10:45 by TurqoiseInt
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 926164 Submitted on 22 Jul 2016 at 9:29 by jim Mclaughlin
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 62. Elapsed Time
Solution 926155 Submitted on 22 Jul 2016 at 8:51 by TurqoiseInt
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 28. Counting Money
Solution 926137 Submitted on 22 Jul 2016 at 7:56 by TurqoiseInt
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 28. Counting Money
Solution 926135 Submitted on 22 Jul 2016 at 7:56 by TurqoiseInt
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 926103 Submitted on 22 Jul 2016 at 4:52 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 925886 Submitted on 21 Jul 2016 at 15:13 by woo pil Chun
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 925878 Submitted on 21 Jul 2016 at 14:53
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 925670 Submitted on 20 Jul 2016 at 18:54 by Landon Miller
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 1958. Add a row of zeros on top of a matrix
Solution 925635 Submitted on 20 Jul 2016 at 17:41 by Stephanie O'Neil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 1957. Check if equal
Solution 925630 Submitted on 20 Jul 2016 at 17:39 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 1957. Check if equal
Solution 925626 Submitted on 20 Jul 2016 at 17:36
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 1801. 03 - Matrix Variables 5
Solution 925538 Submitted on 20 Jul 2016 at 14:19 by Elody Hutten
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 925521 Submitted on 20 Jul 2016 at 12:37 by yao gang
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 925242 Submitted on 19 Jul 2016 at 18:54
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 925233 Submitted on 19 Jul 2016 at 18:26
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 925227 Submitted on 19 Jul 2016 at 18: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 10. Determine whether a vector is monotonically increasing
Solution 925213 Submitted on 19 Jul 2016 at 17: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 10. Determine whether a vector is monotonically increasing
Solution 925212 Submitted on 19 Jul 2016 at 17:54
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 925192 Submitted on 19 Jul 2016 at 16:32 by Stephanie O'Neil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2868. Matlab Basics - y as a function of x
Solution 925174 Submitted on 19 Jul 2016 at 16:10 by Stephanie O'Neil
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 925158 Submitted on 19 Jul 2016 at 15:50 by acoustimate
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1349. Find the logic
Solution 925086 Submitted on 19 Jul 2016 at 12:41
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.