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.

57Size
0 Comments
Problem 15. Find the longest sequence of 1's in a binary sequence.
Solution 608761 Submitted 4 minutes ago by huang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 105. How to find the position of an element in a vector without using the find function
Solution 608760 Submitted 14 minutes ago by Zhao Dennis
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
55Size
0 Comments
Problem 1394. Prime Ladders
Solution 608759 Submitted 21 minutes ago by LY Cao
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
41Size
0 Comments
Problem 8045. Gold Standard
Solution 608758 Submitted 24 minutes ago by Binbin Qi
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 157. The Hitchhiker's Guide to MATLAB
Solution 608757 Submitted 25 minutes ago by Zhao Dennis
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
55Size
0 Comments
Problem 1394. Prime Ladders
Solution 608756 Submitted 26 minutes ago by LY Cao
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
156Size
0 Comments
Problem 8055. Stress-Strain Properties - 8
Solution 608755 Submitted 30 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.
12Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 608753 Submitted 31 minutes ago by Mark Orland
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 608752 Submitted 32 minutes ago by Mark Orland
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 608751 Submitted 32 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 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 608750 Submitted 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 1. Times 2 - START HERE
Solution 608749 Submitted 34 minutes ago by Mark Orland
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 1. Times 2 - START HERE
Solution 608748 Submitted 35 minutes ago by Mark Orland
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
15Size
0 Comments
Problem 1661. Circle area using pi
Solution 608747 Submitted 42 minutes ago by Zhao Dennis
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 233. Reverse the vector
Solution 608746 Submitted 48 minutes ago by Zhao Dennis
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 1658. Simple equation: Annual salary
Solution 608745 Submitted 53 minutes ago by Zhao Dennis
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
55Size
1 Comment
Problem 1394. Prime Ladders
Solution 608744 Submitted 58 minutes ago by LY Cao
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
57Size
0 Comments
Problem 1394. Prime Ladders
Solution 608743 Submitted 59 minutes ago by LY Cao
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
160Size
0 Comments
Problem 22. Remove the vowels
Solution 608742 Submitted 1 hour and 8 minutes ago by Zhao Dennis
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 22. Remove the vowels
Solution 608741 Submitted 1 hour and 11 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 30. Sort a list of complex numbers based on far they are from the origin.
Solution 608740 Submitted 1 hour and 45 minutes ago by Zhao Dennis
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
15Size
0 Comments
Problem 8044. Potential Energy
Solution 608739 Submitted 1 hour and 56 minutes ago by Binbin Qi
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 8043. How fast will the rock go?
Solution 608738 Submitted 1 hour and 59 minutes ago by Binbin Qi
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 608737 Submitted 2 hours and 9 minutes ago by Zhao Dennis
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
40Size
0 Comments
Problem 5. Triangle Numbers
Solution 608736 Submitted 2 hours and 27 minutes ago by Dusan Jovicic
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 676. Reindex a vector
Solution 608735 Submitted 2 hours and 29 minutes ago by Navan Ruthramoorthy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 676. Reindex a vector
Solution 608734 Submitted 2 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.
Incorrect
0 Comments
Problem 676. Reindex a vector
Solution 608733 Submitted 2 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.
34Size
0 Comments
Problem 322. Number of Circles in a Number
Solution 608732 Submitted 2 hours and 45 minutes ago by Navan Ruthramoorthy
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 608731 Submitted 2 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 5. Triangle Numbers
Solution 608730 Submitted 2 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 5. Triangle Numbers
Solution 608729 Submitted 2 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 5. Triangle Numbers
Solution 608728 Submitted 2 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 5. Triangle Numbers
Solution 608726 Submitted 3 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.
19Size
0 Comments
Problem 7. Column Removal
Solution 608725 Submitted 3 hours and 9 minutes ago by Dusan Jovicic
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 149. Is my wife right?
Solution 608724 Submitted 3 hours and 17 minutes ago by Dusan Jovicic
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 6. Select every other element of a vector
Solution 608723 Submitted 3 hours and 19 minutes ago by Dusan Jovicic
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 608722 Submitted 3 hours and 22 minutes ago by Dusan Jovicic
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 8. Add two numbers
Solution 608712 Submitted 3 hours and 37 minutes ago by Dusan Jovicic
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 1570. Is the input divisible by 3?
Solution 608711 Submitted 3 hours and 38 minutes ago by Navan Ruthramoorthy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 608710 Submitted 3 hours and 38 minutes ago by Dusan Jovicic
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1570. Is the input divisible by 3?
Solution 608709 Submitted 3 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.
23Size
0 Comments
Problem 584. middleAsColumn: Return all but first and last element as a column vector
Solution 608708 Submitted 3 hours and 39 minutes ago by Navan Ruthramoorthy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 152. Create a cell array out of a struct
Solution 608707 Submitted 3 hours and 41 minutes ago by Navan Ruthramoorthy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
11Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 608706 Submitted 3 hours and 48 minutes ago by Dusan Jovicic
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 1. Times 2 - START HERE
Solution 608705 Submitted 3 hours and 51 minutes ago by Dusan Jovicic
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 41. Cell joiner
Solution 608704 Submitted 4 hours and 1 minute ago by Brian Moore
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 41. Cell joiner
Solution 608703 Submitted 4 hours and 2 minutes ago by Brian Moore
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 41. Cell joiner
Solution 608702 Submitted 4 hours and 2 minutes ago by Brian Moore
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
9Size
0 Comments
Problem 41. Cell joiner
Solution 608701 Submitted 4 hours and 4 minutes ago by Brian Moore
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.