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.

24Size
0 Comments
Problem 1580. Number of odd and even elements within matrix
Solution 662204 Submitted 24 minutes ago by bainhome
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 690. Remove the two elements next to NaN value
Solution 662195 Submitted 1 hour and 11 minutes ago by Gareth Lee
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 690. Remove the two elements next to NaN value
Solution 662189 Submitted 1 hour and 55 minutes ago by Gareth 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 690. Remove the two elements next to NaN value
Solution 662188 Submitted 1 hour and 57 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 145. Increment a number, given its digits
Solution 662181 Submitted 3 hours and 52 minutes ago by Li Yjie
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 53. Duplicates
Solution 662177 Submitted 3 hours and 59 minutes ago by Gareth Lee
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 53. Duplicates
Solution 662176 Submitted 3 hours and 59 minutes ago by Gareth Lee
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 53. Duplicates
Solution 662171 Submitted 4 hours and 8 minutes ago by Gareth 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 53. Duplicates
Solution 662170 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.
Incorrect
0 Comments
Problem 53. Duplicates
Solution 662169 Submitted 4 hours and 9 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 64. The Goldbach Conjecture, Part 2
Solution 662163 Submitted 4 hours and 24 minutes ago by Li Yjie
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 662162 Submitted 4 hours and 31 minutes ago by Hao li
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 24. Function Iterator
Solution 662158 Submitted 4 hours and 52 minutes ago by Li Yjie
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 662157 Submitted 4 hours and 54 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 662156 Submitted 4 hours and 54 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 662153 Submitted 5 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.
24Size
0 Comments
Problem 24. Function Iterator
Solution 662152 Submitted 5 hours and 16 minutes ago by Gareth Lee
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2748. Integer indexing array: Reverse subsets
Solution 662147 Submitted 5 hours and 22 minutes ago by bainhome
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 233. Reverse the vector
Solution 662137 Submitted 5 hours and 45 minutes ago by keikavoos afghahi
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 233. Reverse the vector
Solution 662136 Submitted 5 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 233. Reverse the vector
Solution 662135 Submitted 5 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.
26Size
0 Comments
Problem 133. Volume of this donut
Solution 662129 Submitted 6 hours and 32 minutes ago by Gareth 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 642. Convert a vector into a number
Solution 662119 Submitted 10 hours and 3 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 642. Convert a vector into a number
Solution 662109 Submitted 10 hours and 16 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 662107 Submitted 10 hours and 19 minutes ago by Eric Santure
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 662106 Submitted 10 hours and 19 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 94. Target sorting
Solution 662105 Submitted 10 hours and 20 minutes ago by Justin Fritz
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 751. Implement simple rotation cypher
Solution 662099 Submitted 10 hours and 30 minutes ago by Justin Fritz
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 751. Implement simple rotation cypher
Solution 662098 Submitted 10 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.
24Size
0 Comments
Problem 156. Parasitic numbers
Solution 662093 Submitted 10 hours and 42 minutes ago by Jonathan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 833. Find third Side of a right triangle given hypotenuse and a side. No * - or other functions allowed
Solution 662088 Submitted 10 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.
Incorrect
0 Comments
Problem 833. Find third Side of a right triangle given hypotenuse and a side. No * - or other functions allowed
Solution 662087 Submitted 10 hours and 49 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 662066 Submitted 11 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.
24Size
0 Comments
Problem 94. Target sorting
Solution 662064 Submitted 11 hours and 15 minutes ago by Tomer Dallal
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
1 Comment
Problem 26. Determine if input is odd
Solution 662063 Submitted 11 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.
23Size
0 Comments
Problem 2018. Side of a rhombus
Solution 662058 Submitted 11 hours and 23 minutes ago by Anurag Kotha
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 662057 Submitted 11 hours and 27 minutes ago by Hosain Al Musanna
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 300. Remove NaN ?
Solution 662054 Submitted 11 hours and 29 minutes ago by Jonathan Campelli
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 30. Sort a list of complex numbers based on far they are from the origin.
Solution 662048 Submitted 12 hours and 12 minutes ago by Tomer Dallal
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 662046 Submitted 12 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.
29Size
0 Comments
Problem 1517. Put m balls into n boxes (again)
Solution 662039 Submitted 12 hours and 25 minutes ago by Jan Orwat
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 662038 Submitted 12 hours and 32 minutes ago by Tomer Dallal
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 14. Find the numeric mean of the prime numbers in a matrix.
Solution 662037 Submitted 12 hours and 54 minutes ago by Justin Fritz
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 2241. Compare two input matrices
Solution 662034 Submitted 12 hours and 57 minutes ago by Pavan Toraty
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 1832. Pluralization
Solution 662033 Submitted 13 hours and 1 minute ago by Navan Ruthramoorthy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 2747. Integer indexing array: Shift left
Solution 662030 Submitted 13 hours and 5 minutes ago by Pavan Toraty
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 2749. Logical indexing: Player scores
Solution 662023 Submitted 13 hours and 14 minutes ago by Pavan Toraty
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 2555. Do operation as per given string
Solution 662021 Submitted 13 hours and 19 minutes ago by Grant III
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 2141. execute the declaration in strings and return value
Solution 662020 Submitted 13 hours and 21 minutes ago by Grant III
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 2746. Integer indexing array: Weekend box office
Solution 662014 Submitted 13 hours and 27 minutes ago by Pavan Toraty
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.