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.

15Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 695912 Submitted 1 minute ago by Pramit Biswas
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 695911 Submitted 6 minutes ago by Pramit Biswas
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
32Size
0 Comments
Problem 19. Swap the first and last columns
Solution 695910 Submitted 3 hours and 8 minutes ago by jason xing
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 4. Make a checkerboard matrix
Solution 695909 Submitted 3 hours and 16 minutes ago by jason xing
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 695908 Submitted 3 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.
48Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 695907 Submitted 4 hours and 13 minutes ago by MD. Muhtady Muhaisin
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 695906 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.
18Size
0 Comments
Problem 167. Pizza!
Solution 695905 Submitted 6 hours and 26 minutes ago by Ramoflaple
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
41Size
0 Comments
Problem 4. Make a checkerboard matrix
Solution 695904 Submitted 6 hours and 29 minutes ago by Ramoflaple
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 695901 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.
Incorrect
0 Comments
Problem 4. Make a checkerboard matrix
Solution 695900 Submitted 6 hours and 57 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 695899 Submitted 7 hours and 13 minutes ago by Ramoflaple
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 5. Triangle Numbers
Solution 695898 Submitted 7 hours and 18 minutes ago by Ramoflaple
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 5. Triangle Numbers
Solution 695897 Submitted 7 hours and 19 minutes ago by Ramoflaple
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 695896 Submitted 7 hours and 21 minutes ago by Ramoflaple
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 695895 Submitted 7 hours and 26 minutes ago by Ramoflaple
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 1210. Two-output anonymous function?
Solution 695894 Submitted 7 hours and 48 minutes ago by Brian
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 695892 Submitted 8 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.
16Size
0 Comments
Problem 260. Create a function handle that reverses the input arguments of another function handle
Solution 695891 Submitted 8 hours and 1 minute ago by Brian
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 695890 Submitted 8 hours and 4 minutes ago by Michael Lynch
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 581. Function composition
Solution 695889 Submitted 8 hours and 5 minutes ago by Brian
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 695888 Submitted 8 hours and 6 minutes ago by Michael Lynch
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 583. Implement a counter
Solution 695887 Submitted 8 hours and 10 minutes ago by Brian
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
38Size
0 Comments
Problem 60. The Goldbach Conjecture
Solution 695886 Submitted 9 hours and 8 minutes ago by Kasey Ackerman
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 60. The Goldbach Conjecture
Solution 695885 Submitted 9 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.
38Size
0 Comments
Problem 60. The Goldbach Conjecture
Solution 695884 Submitted 9 hours and 8 minutes ago by Kasey Ackerman
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 105. How to find the position of an element in a vector without using the find function
Solution 695883 Submitted 9 hours and 16 minutes ago by Kasey Ackerman
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
15Size
0 Comments
Problem 105. How to find the position of an element in a vector without using the find function
Solution 695882 Submitted 9 hours and 19 minutes ago by Kasey Ackerman
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 42444. Add two hex numbers
Solution 695881 Submitted 9 hours and 20 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.
12Size
0 Comments
Problem 42445. Converter temp 0 to 200 degree C to 4 to 20mA
Solution 695880 Submitted 9 hours and 20 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.
12Size
0 Comments
Problem 157. The Hitchhiker's Guide to MATLAB
Solution 695879 Submitted 9 hours and 21 minutes ago by Kasey Ackerman
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 695878 Submitted 9 hours and 22 minutes ago by Kasey Ackerman
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 695877 Submitted 9 hours and 23 minutes ago by Kasey Ackerman
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 1658. Simple equation: Annual salary
Solution 695876 Submitted 9 hours and 23 minutes ago by Kasey Ackerman
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 22. Remove the vowels
Solution 695875 Submitted 9 hours and 25 minutes ago by Kasey Ackerman
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 22. Remove the vowels
Solution 695874 Submitted 9 hours and 31 minutes ago by Kasey Ackerman
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
54Size
1 Comment
Problem 32. Most nonzero elements in row
Solution 695873 Submitted 9 hours and 45 minutes ago by Nicholas Hortance
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 106. Weighted average
Solution 695872 Submitted 10 hours and 6 minutes ago by MBledsoe
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 106. Weighted average
Solution 695871 Submitted 10 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.
16Size
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 695870 Submitted 10 hours and 11 minutes ago by Zhuo Li
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 33. Create times-tables
Solution 695869 Submitted 10 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.
52Size
0 Comments
Problem 12. Fibonacci sequence
Solution 695868 Submitted 10 hours and 17 minutes ago by MBledsoe
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 695867 Submitted 10 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.
37Size
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 695866 Submitted 10 hours and 26 minutes ago by MBledsoe
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
38Size
0 Comments
Problem 19. Swap the first and last columns
Solution 695865 Submitted 10 hours and 34 minutes ago by MBledsoe
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 304. Bottles of beer
Solution 695864 Submitted 11 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 304. Bottles of beer
Solution 695863 Submitted 11 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.
13Size
0 Comments
Problem 8. Add two numbers
Solution 695862 Submitted 12 hours and 56 minutes ago by Jonathan Scott
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 695861 Submitted 12 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.
12Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 695860 Submitted 12 hours and 57 minutes ago by Jonathan Scott
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.