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

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.

44Size
0 Comments
Problem 19. Swap the first and last columns
Solution 494327 Submitted 3 hours and 18 minutes ago by Shriramprasad Venkatesan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
52Size
0 Comments
Problem 4. Make a checkerboard matrix
Solution 494326 Submitted 3 hours and 26 minutes ago by Shriramprasad Venkatesan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2018. Side of a rhombus
Solution 494324 Submitted 3 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.
Incorrect
0 Comments
Problem 2018. Side of a rhombus
Solution 494323 Submitted 3 hours and 34 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 279. collision
Solution 494322 Submitted 3 hours and 35 minutes ago by Peter Cook
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
73Size
0 Comments
Problem 74. Balanced number
Solution 494321 Submitted 3 hours and 38 minutes ago by Dan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
31Size
0 Comments
Problem 2023. Is this triangle right-angled?
Solution 494320 Submitted 3 hours and 40 minutes ago by santosh singh
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 1592. find the roots of a quadratic equation
Solution 494319 Submitted 3 hours and 41 minutes ago by Peter Cook
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 2389. Max of a Vector
Solution 494318 Submitted 3 hours and 42 minutes ago by Peter Cook
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2389. Max of a Vector
Solution 494317 Submitted 3 hours and 42 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 2023. Is this triangle right-angled?
Solution 494316 Submitted 3 hours and 42 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 159. Figurate number triangle
Solution 494315 Submitted 3 hours and 43 minutes ago by Peter Cook
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 494314 Submitted 3 hours 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 2023. Is this triangle right-angled?
Solution 494313 Submitted 3 hours 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 2023. Is this triangle right-angled?
Solution 494312 Submitted 3 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.
19Size
0 Comments
Problem 2015. Length of the hypotenuse
Solution 494309 Submitted 3 hours and 51 minutes ago by santosh singh
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 39. Which values occur exactly three times?
Solution 494308 Submitted 3 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.
33Size
0 Comments
Problem 1548. Vector of numbers divisible by 3
Solution 494307 Submitted 3 hours and 52 minutes ago by Peter Cook
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
32Size
0 Comments
Problem 2021. Is this triangle right-angled?
Solution 494306 Submitted 3 hours and 53 minutes ago by santosh singh
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2021. Is this triangle right-angled?
Solution 494304 Submitted 3 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 2021. Is this triangle right-angled?
Solution 494303 Submitted 3 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 39. Which values occur exactly three times?
Solution 494302 Submitted 3 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 39. Which values occur exactly three times?
Solution 494301 Submitted 3 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.
Incorrect
0 Comments
Problem 1548. Vector of numbers divisible by 3
Solution 494300 Submitted 3 hours and 56 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 494299 Submitted 3 hours and 57 minutes ago by santosh singh
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 494298 Submitted 4 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.
Incorrect
0 Comments
Problem 2017. Side of an equilateral triangle
Solution 494297 Submitted 4 hours and 5 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
32Size
0 Comments
Problem 1421. subtract central cross
Solution 494296 Submitted 4 hours and 6 minutes ago by Peter Cook
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 2031. Half-Swap
Solution 494295 Submitted 4 hours and 8 minutes ago by Peter Cook
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 1824. Find and replaces spaces from a input string with *
Solution 494294 Submitted 4 hours and 10 minutes ago by Peter Cook
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 356. Back to basics 12 - Input Arguments
Solution 494293 Submitted 4 hours and 12 minutes ago by santosh singh
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 792. Set some matrix elements to zero
Solution 494292 Submitted 4 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 39. Which values occur exactly three times?
Solution 494291 Submitted 4 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 356. Back to basics 12 - Input Arguments
Solution 494290 Submitted 4 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 39. Which values occur exactly three times?
Solution 494289 Submitted 4 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 4. Make a checkerboard matrix
Solution 494288 Submitted 4 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.
16Size
0 Comments
Problem 356. Back to basics 12 - Input Arguments
Solution 494287 Submitted 4 hours and 14 minutes ago by santosh singh
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 792. Set some matrix elements to zero
Solution 494286 Submitted 4 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.
53Size
0 Comments
Problem 60. The Goldbach Conjecture
Solution 494285 Submitted 4 hours and 18 minutes ago by Kasey
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 635. Angle between Two Vectors
Solution 494283 Submitted 4 hours and 23 minutes ago by Peter Cook
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
44Size
0 Comments
Problem 73. Replace NaNs with the number that appears to its left in the row.
Solution 494282 Submitted 4 hours and 24 minutes ago by Dan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
31Size
0 Comments
Problem 2235. Back to basics - mean of corner elements of a matrix
Solution 494281 Submitted 4 hours and 28 minutes ago by Peter Cook
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 1786. Create an index-powered vector
Solution 494280 Submitted 4 hours and 30 minutes ago by Peter Cook
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 137. wait for me
Solution 494279 Submitted 4 hours and 31 minutes ago by Peter Cook
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 838. Check if number exists in vector
Solution 494278 Submitted 4 hours and 31 minutes ago by santosh singh
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 838. Check if number exists in vector
Solution 494277 Submitted 4 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.
12Size
0 Comments
Problem 157. The Hitchhiker's Guide to MATLAB
Solution 494276 Submitted 4 hours and 33 minutes ago by Kasey
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 838. Check if number exists in vector
Solution 494275 Submitted 4 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.
17Size
0 Comments
Problem 1952. Count decimal digits of a number
Solution 494274 Submitted 4 hours and 36 minutes ago by Peter Cook
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1952. Count decimal digits of a number
Solution 494273 Submitted 4 hours and 37 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.