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 14. Find the numeric mean of the prime numbers in a matrix.
Solution 728019 Submitted 28 minutes ago by David Jones
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 42585. Permutations of input vector
Solution 728012 Submitted 1 hour and 1 minute ago by Pritesh Shah
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 728000 Submitted 2 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 189. Sum all integers from 1 to 2^n
Solution 727998 Submitted 2 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 8. Add two numbers
Solution 727995 Submitted 2 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.
Incorrect
0 Comments
Problem 2711. Assigning a sum
Solution 727991 Submitted 3 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 38. Return a list sorted by number of occurrences
Solution 727988 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.
20Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 727969 Submitted 7 hours and 30 minutes ago by Keo
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 89. Counting in Finnish
Solution 727962 Submitted 9 hours and 40 minutes ago by Richard
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 167. Pizza!
Solution 727932 Submitted 12 hours and 34 minutes ago by Kevin van der Linde
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 727925 Submitted 12 hours and 45 minutes ago by Alexis Velazquez
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 727918 Submitted 13 hours and 2 minutes ago by Muratali Madymarov
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 727917 Submitted 13 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.
24Size
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 727914 Submitted 13 hours and 6 minutes ago by Eugene Olivier
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 727912 Submitted 13 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.
Incorrect
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 727911 Submitted 13 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 32. Most nonzero elements in row
Solution 727886 Submitted 13 hours and 44 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 32. Most nonzero elements in row
Solution 727885 Submitted 13 hours and 44 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 26. Determine if input is odd
Solution 727878 Submitted 13 hours and 49 minutes ago by Jason R
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 727877 Submitted 13 hours and 50 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 727875 Submitted 13 hours and 50 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 32. Most nonzero elements in row
Solution 727871 Submitted 14 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 32. Most nonzero elements in row
Solution 727870 Submitted 14 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 189. Sum all integers from 1 to 2^n
Solution 727860 Submitted 14 hours and 11 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 189. Sum all integers from 1 to 2^n
Solution 727858 Submitted 14 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 189. Sum all integers from 1 to 2^n
Solution 727857 Submitted 14 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.
23Size
0 Comments
Problem 25. Remove any row in which a NaN appears
Solution 727853 Submitted 14 hours and 27 minutes ago by Clark Stordy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 25. Remove any row in which a NaN appears
Solution 727852 Submitted 14 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 25. Remove any row in which a NaN appears
Solution 727851 Submitted 14 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.
23Size
0 Comments
Problem 25. Remove any row in which a NaN appears
Solution 727849 Submitted 14 hours and 33 minutes ago by Clark Stordy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 25. Remove any row in which a NaN appears
Solution 727846 Submitted 14 hours and 39 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 25. Remove any row in which a NaN appears
Solution 727845 Submitted 14 hours and 40 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 25. Remove any row in which a NaN appears
Solution 727844 Submitted 14 hours and 40 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 727838 Submitted 14 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.
25Size
0 Comments
Problem 26. Determine if input is odd
Solution 727835 Submitted 14 hours and 55 minutes ago by Jason R
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 727831 Submitted 14 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.
30Size
0 Comments
Problem 42475. Add damping to a mass spring system
Solution 727823 Submitted 15 hours and 6 minutes ago by Jason R
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 42581. Create sequnce 1 4 9 16 25.........
Solution 727821 Submitted 15 hours and 8 minutes ago by Paul Berglund
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 42474. Model a mass spring system
Solution 727820 Submitted 15 hours and 8 minutes ago by Jason R
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42581. Create sequnce 1 4 9 16 25.........
Solution 727819 Submitted 15 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.
Incorrect
0 Comments
Problem 42581. Create sequnce 1 4 9 16 25.........
Solution 727817 Submitted 15 hours and 10 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 42476. Model a falling body
Solution 727814 Submitted 15 hours and 13 minutes ago by Jason R
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2711. Assigning a sum
Solution 727799 Submitted 15 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.
Incorrect
0 Comments
Problem 2711. Assigning a sum
Solution 727798 Submitted 15 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.
Incorrect
0 Comments
Problem 2711. Assigning a sum
Solution 727797 Submitted 15 hours and 26 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 10. Determine whether a vector is monotonically increasing
Solution 727794 Submitted 15 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.
23Size
0 Comments
Problem 42471. Make a full wave rectifier
Solution 727793 Submitted 15 hours and 28 minutes ago by Jason R
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 727782 Submitted 15 hours and 33 minutes ago by Jason R
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 45. Make a Palindrome Number
Solution 727769 Submitted 16 hours and 1 minute ago by Richard
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 45. Make a Palindrome Number
Solution 727763 Submitted 16 hours and 3 minutes ago by Richard
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.