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.

17Size
0 Comments
Problem 42468. Produce a sine wave
Solution 916325 Submitted 4 minutes ago by Swarada Purandare
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 42469. Produce a cosine wave
Solution 916324 Submitted 13 minutes ago by Swarada Purandare
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
69Size
0 Comments
Problem 22. Remove the vowels
Solution 916323 Submitted 13 minutes ago by Matthew Sheen
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 916322 Submitted 15 minutes ago
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 916321 Submitted 19 minutes ago by Swarada Purandare
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 26. Determine if input is odd
Solution 916320 Submitted 1 hour and 24 minutes ago by Changhee Lee
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 916319 Submitted 1 hour and 29 minutes ago by Changhee Lee
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 7. Column Removal
Solution 916318 Submitted 1 hour and 30 minutes ago by Changhee Lee
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 19. Swap the first and last columns
Solution 916317 Submitted 1 hour and 53 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 19. Swap the first and last columns
Solution 916316 Submitted 1 hour and 53 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
33Size
0 Comments
Problem 115. Distance walked 1D
Solution 916315 Submitted 1 hour and 55 minutes ago by Matthew Sheen
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 115. Distance walked 1D
Solution 916314 Submitted 1 hour and 56 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 916313 Submitted 1 hour and 57 minutes ago by Changhee Lee
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 916312 Submitted 1 hour and 58 minutes ago by Changhee Lee
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 916311 Submitted 1 hour and 58 minutes ago by Changhee Lee
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
35Size
0 Comments
Problem 109. Check if sorted
Solution 916310 Submitted 1 hour and 59 minutes ago by Changhee Lee
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 916309 Submitted 2 hours and 13 minutes ago by Changhee Lee
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 6. Select every other element of a vector
Solution 916308 Submitted 2 hours and 15 minutes ago by Changhee Lee
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 916307 Submitted 2 hours and 18 minutes ago by Changhee Lee
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 916306 Submitted 2 hours and 20 minutes ago by Changhee Lee
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 60. The Goldbach Conjecture
Solution 916305 Submitted 2 hours and 44 minutes ago by Matthew Sheen
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 1663. Pizza value using expression with parentheses
Solution 916304 Submitted 2 hours and 48 minutes ago by Matthew Sheen
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
44Size
0 Comments
Problem 12. Fibonacci sequence
Solution 916303 Submitted 3 hours and 12 minutes ago by Chris Manning
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 12. Fibonacci sequence
Solution 916302 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.
16Size
0 Comments
Problem 2017. Side of an equilateral triangle
Solution 916301 Submitted 3 hours and 20 minutes ago by Chris Manning
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 2017. Side of an equilateral triangle
Solution 916300 Submitted 3 hours and 21 minutes ago by Chris Manning
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2017. Side of an equilateral triangle
Solution 916299 Submitted 3 hours 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 2017. Side of an equilateral triangle
Solution 916298 Submitted 3 hours 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 2017. Side of an equilateral triangle
Solution 916297 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.
18Size
0 Comments
Problem 2017. Side of an equilateral triangle
Solution 916296 Submitted 3 hours and 26 minutes ago by Chris Manning
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2017. Side of an equilateral triangle
Solution 916295 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 2017. Side of an equilateral triangle
Solution 916294 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.
18Size
0 Comments
Problem 6. Select every other element of a vector
Solution 916293 Submitted 3 hours and 30 minutes ago by Chris Manning
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 916292 Submitted 3 hours and 32 minutes ago by Chris Manning
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 916291 Submitted 3 hours and 33 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 916290 Submitted 3 hours and 34 minutes ago by Chris Manning
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 916289 Submitted 3 hours and 35 minutes ago by Chris Manning
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 42467. Add offset to a signal
Solution 916288 Submitted 3 hours and 50 minutes ago by Chris Manning
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
7Size
0 Comments
Problem 42469. Produce a cosine wave
Solution 916287 Submitted 3 hours and 51 minutes ago by Chris Manning
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 42467. Add offset to a signal
Solution 916286 Submitted 3 hours and 54 minutes ago by Chris Manning
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
7Size
0 Comments
Problem 42468. Produce a sine wave
Solution 916285 Submitted 3 hours and 54 minutes ago by Chris Manning
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 42468. Produce a sine wave
Solution 916284 Submitted 3 hours and 59 minutes ago by Chris Manning
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 42466. Add a block to a model
Solution 916283 Submitted 4 hours and 1 minute ago by Chris Manning
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 42469. Produce a cosine wave
Solution 916282 Submitted 4 hours and 1 minute ago by Chris Manning
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 42469. Produce a cosine wave
Solution 916281 Submitted 4 hours and 3 minutes ago by Chris Manning
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 916280 Submitted 4 hours and 7 minutes ago by Chris Manning
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 14. Find the numeric mean of the prime numbers in a matrix.
Solution 916279 Submitted 4 hours and 8 minutes ago by Dylan Fox
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 14. Find the numeric mean of the prime numbers in a matrix.
Solution 916278 Submitted 4 hours and 8 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 26. Determine if input is odd
Solution 916277 Submitted 4 hours and 11 minutes ago by Chris Manning
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 916276 Submitted 4 hours and 15 minutes ago by Chris Manning
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.