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.

25Size
0 Comments
Problem 26. Determine if input is odd
Solution 916269 Submitted 14 minutes ago by shyam shiv kumar
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 916268 Submitted 15 minutes ago by shyam shiv kumar
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 916252 Submitted 2 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 4. Make a checkerboard matrix
Solution 916251 Submitted 2 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 7. Column Removal
Solution 916250 Submitted 2 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.
23Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 916227 Submitted 3 hours and 52 minutes ago by Pragati Satpute
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 916224 Submitted 3 hours and 56 minutes ago by Pragati Satpute
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 916214 Submitted 4 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 19. Swap the first and last columns
Solution 916212 Submitted 4 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.
22Size
0 Comments
Problem 5. Triangle Numbers
Solution 916206 Submitted 4 hours and 31 minutes ago by Calen Leverant
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 916201 Submitted 4 hours and 39 minutes ago by Calen Leverant
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 26. Determine if input is odd
Solution 916199 Submitted 4 hours and 44 minutes ago by Calen Leverant
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 916191 Submitted 4 hours and 51 minutes ago by Zitong Liu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 32. Most nonzero elements in row
Solution 916190 Submitted 4 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.
Incorrect
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 916170 Submitted 5 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.
22Size
0 Comments
Problem 1525. Simple problem creating a function from an abstract specification.
Solution 916160 Submitted 5 hours and 32 minutes ago by Matt Eicholtz
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1505. Perl 4: unshift
Solution 916155 Submitted 5 hours and 38 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 1267. Calculate the probability that at least two people in a group share the same birthday.
Solution 916154 Submitted 5 hours and 39 minutes ago by Matt Eicholtz
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1267. Calculate the probability that at least two people in a group share the same birthday.
Solution 916151 Submitted 5 hours and 43 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 1504. Perl 3: shift
Solution 916142 Submitted 5 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 1504. Perl 3: shift
Solution 916141 Submitted 5 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.
26Size
0 Comments
Problem 105. How to find the position of an element in a vector without using the find function
Solution 916136 Submitted 6 hours and 18 minutes ago by Joshua Scala
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 916133 Submitted 6 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 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 916132 Submitted 6 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.
Incorrect
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 916129 Submitted 6 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 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 916128 Submitted 6 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 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 916127 Submitted 6 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.
25Size
0 Comments
Problem 26. Determine if input is odd
Solution 916111 Submitted 6 hours and 49 minutes ago by Gautam
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 916109 Submitted 6 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 1659. Fahrenheit to Celsius using multiple statements
Solution 916096 Submitted 6 hours and 56 minutes ago by Joshua Scala
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 916094 Submitted 6 hours and 57 minutes ago by Gautam
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 916091 Submitted 6 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.
29Size
0 Comments
Problem 7. Column Removal
Solution 916074 Submitted 7 hours and 15 minutes ago by Jesse
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 916064 Submitted 7 hours and 20 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 11. Back and Forth Rows
Solution 916061 Submitted 7 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 11. Back and Forth Rows
Solution 916060 Submitted 7 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 11. Back and Forth Rows
Solution 916059 Submitted 7 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 11. Back and Forth Rows
Solution 916057 Submitted 7 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.
26Size
0 Comments
Problem 1977. Power of n ?
Solution 916056 Submitted 7 hours and 23 minutes ago by Matt Eicholtz
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 1977. Power of n ?
Solution 916055 Submitted 7 hours and 24 minutes ago by Matt Eicholtz
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1977. Power of n ?
Solution 916054 Submitted 7 hours and 25 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 916053 Submitted 7 hours and 25 minutes ago by Gautam
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 109. Check if sorted
Solution 916045 Submitted 7 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.
Incorrect
0 Comments
Problem 109. Check if sorted
Solution 916044 Submitted 7 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.
Incorrect
0 Comments
Problem 109. Check if sorted
Solution 916043 Submitted 7 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.
Incorrect
0 Comments
Problem 109. Check if sorted
Solution 916040 Submitted 7 hours and 29 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 2040. Additive persistence
Solution 916037 Submitted 7 hours and 30 minutes ago by Matt Eicholtz
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2040. Additive persistence
Solution 916032 Submitted 7 hours and 30 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 1630. ~~~~~~~ WAVE ~~~~~~~~~
Solution 916017 Submitted 7 hours and 36 minutes ago by Matt Eicholtz
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 157. The Hitchhiker's Guide to MATLAB
Solution 915934 Submitted 8 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.