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 11. Back and Forth Rows
Solution 928980 Submitted 2 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 928979 Submitted 1 hour and 43 minutes ago by Pablo Rodriguez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 106. Weighted average
Solution 928978 Submitted 1 hour and 44 minutes ago by Pablo Rodriguez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 106. Weighted average
Solution 928977 Submitted 1 hour and 46 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 106. Weighted average
Solution 928976 Submitted 1 hour and 46 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 106. Weighted average
Solution 928975 Submitted 1 hour and 46 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 26. Determine if input is odd
Solution 928974 Submitted 1 hour and 53 minutes ago by Koc
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 42471. Make a full wave rectifier
Solution 928973 Submitted 1 hour and 55 minutes ago by Pablo Rodriguez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
7Size
0 Comments
Problem 42465. Connect blocks in a model
Solution 928972 Submitted 1 hour and 58 minutes ago by Pablo Rodriguez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 8. Add two numbers
Solution 928971 Submitted 1 hour and 58 minutes ago by Kelly Huang
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 928970 Submitted 2 hours and 1 minute ago by Kelly Huang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 928969 Submitted 2 hours and 1 minute ago by Kelly Huang
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 928968 Submitted 2 hours and 1 minute ago by Koc
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 928967 Submitted 2 hours and 4 minutes ago by Kelly Huang
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 928966 Submitted 2 hours and 4 minutes ago by Koc
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 928965 Submitted 2 hours and 5 minutes ago by Kelly Huang
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 928964 Submitted 2 hours and 5 minutes ago by Koc
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 928963 Submitted 2 hours and 13 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 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 928962 Submitted 2 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 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 928961 Submitted 2 hours and 15 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 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 928960 Submitted 2 hours and 17 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 928959 Submitted 2 hours and 21 minutes ago by Kelly Huang
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 928958 Submitted 2 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.
23Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 928957 Submitted 2 hours and 34 minutes ago by Pablo Rodriguez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
35Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 928956 Submitted 2 hours and 35 minutes ago by Pablo Rodriguez
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 928955 Submitted 2 hours and 35 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
39Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 928954 Submitted 2 hours and 41 minutes ago by Pablo Rodriguez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
47Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 928953 Submitted 2 hours and 43 minutes ago by Pablo Rodriguez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 141. Solve the Sudoku Row
Solution 928952 Submitted 2 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.
Incorrect
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 928951 Submitted 2 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.
Incorrect
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 928950 Submitted 2 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.
16Size
0 Comments
Problem 5. Triangle Numbers
Solution 928949 Submitted 2 hours and 50 minutes ago by Pablo Rodriguez
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 928948 Submitted 2 hours and 50 minutes ago by Pablo Rodriguez
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 928947 Submitted 2 hours and 50 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 141. Solve the Sudoku Row
Solution 928946 Submitted 2 hours and 51 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 6. Select every other element of a vector
Solution 928945 Submitted 2 hours and 52 minutes ago by Pablo Rodriguez
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 928944 Submitted 2 hours and 52 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 6. Select every other element of a vector
Solution 928943 Submitted 2 hours and 53 minutes ago by Pablo Rodriguez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 6. Select every other element of a vector
Solution 928942 Submitted 2 hours and 54 minutes ago by Pablo Rodriguez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 8. Add two numbers
Solution 928941 Submitted 2 hours and 54 minutes ago by Jake Cronk
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 8. Add two numbers
Solution 928940 Submitted 2 hours and 55 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 8. Add two numbers
Solution 928939 Submitted 2 hours and 56 minutes ago by Pablo Rodriguez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 928938 Submitted 2 hours and 57 minutes ago by Jake Cronk
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 928937 Submitted 2 hours and 57 minutes ago by Max E.
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 928936 Submitted 2 hours and 57 minutes ago by Pablo Rodriguez
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 928935 Submitted 2 hours and 58 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 167. Pizza!
Solution 928934 Submitted 2 hours and 59 minutes ago by Pablo Rodriguez
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 928933 Submitted 2 hours and 59 minutes ago
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 928932 Submitted 3 hours and 1 minute ago by Pablo Rodriguez
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 928931 Submitted 3 hours and 1 minute ago by Pablo Rodriguez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.