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.

30Size
0 Comments
Problem 12. Fibonacci sequence
Solution 915744 Submitted 16 hours and 30 minutes ago by Quentin Simard
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 24. Function Iterator
Solution 915741 Submitted 16 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.
28Size
0 Comments
Problem 1578. Volume and area of a sphere
Solution 915734 Submitted 16 hours and 35 minutes ago by Michael C.
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 30. Sort a list of complex numbers based on far they are from the origin.
Solution 915712 Submitted 16 hours and 47 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 24. Function Iterator
Solution 915710 Submitted 16 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.
Incorrect
0 Comments
Problem 24. Function Iterator
Solution 915709 Submitted 16 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.
Incorrect
0 Comments
Problem 24. Function Iterator
Solution 915707 Submitted 16 hours 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 24. Function Iterator
Solution 915697 Submitted 17 hours and 1 minute ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 915694 Submitted 17 hours and 2 minutes ago by Mehmet Agaoglu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 915693 Submitted 17 hours and 3 minutes ago by Mehmet Agaoglu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 915691 Submitted 17 hours and 3 minutes ago by Mehmet Agaoglu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 24. Function Iterator
Solution 915690 Submitted 17 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.
Incorrect
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 915684 Submitted 17 hours and 7 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 7. Column Removal
Solution 915683 Submitted 17 hours and 8 minutes ago by Mehmet Agaoglu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 7. Column Removal
Solution 915681 Submitted 17 hours and 9 minutes ago by Mehmet Agaoglu
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 915654 Submitted 18 hours and 3 minutes ago by Stefan Schunke
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 915647 Submitted 18 hours and 41 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 174. Roll the Dice!
Solution 915646 Submitted 18 hours and 50 minutes ago by Rasoul
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 915645 Submitted 18 hours and 53 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 915644 Submitted 18 hours and 53 minutes ago by Rasoul
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 915638 Submitted 18 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.
Incorrect
0 Comments
Problem 12. Fibonacci sequence
Solution 915618 Submitted 19 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.
Incorrect
0 Comments
Problem 7. Column Removal
Solution 915604 Submitted 19 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.
22Size
0 Comments
Problem 20. Summing digits
Solution 915601 Submitted 19 hours and 26 minutes ago by matlabuser
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 26. Determine if input is odd
Solution 915594 Submitted 19 hours and 28 minutes ago by ASLI KECELI
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 915566 Submitted 20 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.
26Size
0 Comments
Problem 26. Determine if input is odd
Solution 915563 Submitted 20 hours and 20 minutes ago by Quentin Simard
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 915557 Submitted 21 hours and 57 minutes ago by Seb Perz
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 105. How to find the position of an element in a vector without using the find function
Solution 915556 Submitted 22 hours and 1 minute ago by Seb Perz
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 5. Triangle Numbers
Solution 915553 Submitted 22 hours and 3 minutes ago by Seb Perz
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 915548 Submitted 22 hours and 6 minutes ago by vasanti naik
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 7. Column Removal
Solution 915547 Submitted 22 hours and 7 minutes ago by Seb Perz
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 7. Column Removal
Solution 915546 Submitted 22 hours and 9 minutes ago by Seb Perz
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 1663. Pizza value using expression with parentheses
Solution 915513 Submitted on 27 Jun 2016 at 23:45 by Saiankita Anand
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 1663. Pizza value using expression with parentheses
Solution 915511 Submitted on 27 Jun 2016 at 23:44 by Saiankita Anand
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1663. Pizza value using expression with parentheses
Solution 915510 Submitted on 27 Jun 2016 at 23:44
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 1663. Pizza value using expression with parentheses
Solution 915509 Submitted on 27 Jun 2016 at 23:43 by Saiankita Anand
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 915488 Submitted on 27 Jun 2016 at 22: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 26. Determine if input is odd
Solution 915487 Submitted on 27 Jun 2016 at 22:15
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 9. Who Has the Most Change?
Solution 915477 Submitted on 27 Jun 2016 at 21:11 by Jeff
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 915475 Submitted on 27 Jun 2016 at 21:08
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 9. Who Has the Most Change?
Solution 915473 Submitted on 27 Jun 2016 at 21:07 by Jeff
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 60. The Goldbach Conjecture
Solution 915464 Submitted on 27 Jun 2016 at 20: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 60. The Goldbach Conjecture
Solution 915461 Submitted on 27 Jun 2016 at 20: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 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 915456 Submitted on 27 Jun 2016 at 20:52
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 915454 Submitted on 27 Jun 2016 at 20:51
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 915448 Submitted on 27 Jun 2016 at 20:43
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 915435 Submitted on 27 Jun 2016 at 20:32 by Saiankita Anand
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 915434 Submitted on 27 Jun 2016 at 20: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 26. Determine if input is odd
Solution 915433 Submitted on 27 Jun 2016 at 20:29
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.