Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

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.

25Size
0 Comments
Problem 26. Determine if input is odd
Solution 695105 Submitted 35 minutes ago by Pavithra Ashok Kumar
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1502. Perl 1: push
Solution 695104 Submitted 38 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 1502. Perl 1: push
Solution 695103 Submitted 40 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 26. Determine if input is odd
Solution 695102 Submitted 40 minutes ago by Pavithra Ashok Kumar
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 26. Determine if input is odd
Solution 695101 Submitted 44 minutes ago by Pavithra Ashok Kumar
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 26. Determine if input is odd
Solution 695100 Submitted 48 minutes ago by Pavithra Ashok Kumar
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
77Size
0 Comments
Problem 42410. Divisible by 8
Solution 695099 Submitted 56 minutes ago by Gergely Patay
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42410. Divisible by 8
Solution 695098 Submitted 57 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 541. Use of regexp
Solution 695097 Submitted 59 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 541. Use of regexp
Solution 695096 Submitted 1 hour and 1 minute ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 695095 Submitted 1 hour and 1 minute ago by Pavithra Ashok Kumar
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 695094 Submitted 1 hour and 20 minutes ago by Pavithra Ashok Kumar
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 1. Times 2 - START HERE
Solution 695093 Submitted 1 hour and 22 minutes ago by Pavithra Ashok Kumar
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 20. Summing digits
Solution 695092 Submitted 1 hour and 23 minutes ago by Nafus
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 695091 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.
12Size
0 Comments
Problem 1. Times 2 - START HERE
Solution 695090 Submitted 1 hour and 25 minutes ago by Pavithra Ashok Kumar
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 20. Summing digits
Solution 695089 Submitted 1 hour and 26 minutes ago by Nafus
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
0Size
0 Comments
Problem 2849. Matlab Basics - Assigning Variables
Solution 695088 Submitted 1 hour and 29 minutes ago by Levent Zaimoglu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 2849. Matlab Basics - Assigning Variables
Solution 695087 Submitted 1 hour and 29 minutes ago by Levent Zaimoglu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
15Size
0 Comments
Problem 1712. NO _________ ALLOWED....
Solution 695086 Submitted 1 hour and 33 minutes ago by Levent Zaimoglu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1712. NO _________ ALLOWED....
Solution 695085 Submitted 1 hour and 33 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 695084 Submitted 3 hours and 9 minutes ago by Wello
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
115Size
0 Comments
Problem 4. Make a checkerboard matrix
Solution 695083 Submitted 3 hours and 10 minutes ago by Jamie Foubister
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 695082 Submitted 3 hours and 11 minutes ago by Wello
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 695081 Submitted 3 hours and 12 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
11Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 695080 Submitted 3 hours and 13 minutes ago by Wello
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 2165. Polynomial Multiplication
Solution 695079 Submitted 3 hours and 14 minutes ago by Levent Zaimoglu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 1. Times 2 - START HERE
Solution 695078 Submitted 3 hours and 18 minutes ago by Wello
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
8Size
0 Comments
Problem 2959. Divide by 4
Solution 695077 Submitted 3 hours and 20 minutes ago by Levent Zaimoglu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
9Size
0 Comments
Problem 2150. ベクトル [1 2 3 4 5 6 7 8 9 10] の作成
Solution 695076 Submitted 3 hours and 21 minutes ago by Levent Zaimoglu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
66Size
0 Comments
Problem 9. Who Has the Most Change?
Solution 695075 Submitted 3 hours and 21 minutes ago by Jamie Foubister
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 2274. Find the square of the sum of the digits of a number
Solution 695074 Submitted 3 hours and 23 minutes ago by Levent Zaimoglu
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 695073 Submitted 3 hours and 24 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 2274. Find the square of the sum of the digits of a number
Solution 695072 Submitted 3 hours and 24 minutes ago by Levent Zaimoglu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2274. Find the square of the sum of the digits of a number
Solution 695071 Submitted 3 hours and 25 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 2274. Find the square of the sum of the digits of a number
Solution 695070 Submitted 3 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 2274. Find the square of the sum of the digits of a number
Solution 695069 Submitted 3 hours and 28 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 157. The Hitchhiker's Guide to MATLAB
Solution 695068 Submitted 3 hours and 29 minutes ago by Jamie Foubister
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 2764. Constructing column arrays
Solution 695067 Submitted 3 hours and 30 minutes ago by Levent Zaimoglu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 167. Pizza!
Solution 695066 Submitted 3 hours and 33 minutes ago by Jamie Foubister
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
32Size
0 Comments
Problem 5. Triangle Numbers
Solution 695065 Submitted 3 hours and 35 minutes ago by Jamie Foubister
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 763. Find the elements of a matrix according to a defined property.
Solution 695064 Submitted 3 hours and 36 minutes ago by Levent Zaimoglu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 763. Find the elements of a matrix according to a defined property.
Solution 695063 Submitted 3 hours and 37 minutes ago by Levent Zaimoglu
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 695062 Submitted 3 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.
26Size
0 Comments
Problem 42411. Divisible by 9
Solution 695061 Submitted 3 hours and 41 minutes ago by Gergely Patay
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 51. Find the two most distant points
Solution 695060 Submitted 3 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.
10Size
0 Comments
Problem 149. Is my wife right?
Solution 695059 Submitted 3 hours and 46 minutes ago by Jamie Foubister
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 149. Is my wife right?
Solution 695058 Submitted 3 hours and 46 minutes ago by Jamie Foubister
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 26. Determine if input is odd
Solution 695057 Submitted 3 hours and 47 minutes ago by Jamie Foubister
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 695056 Submitted 3 hours and 48 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.