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.

27Size
0 Comments
Problem 730. How many trades represent all the profit?
Solution 914863 Submitted 20 minutes ago by Xin Xiao
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 730. How many trades represent all the profit?
Solution 914862 Submitted 22 minutes ago by Xin Xiao
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 157. The Hitchhiker's Guide to MATLAB
Solution 914861 Submitted 40 minutes ago by Anthony Tracy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 233. Reverse the vector
Solution 914860 Submitted 42 minutes ago by Anthony Tracy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
50Size
0 Comments
Problem 22. Remove the vowels
Solution 914859 Submitted 43 minutes ago by Anthony Tracy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
59Size
0 Comments
Problem 39. Which values occur exactly three times?
Solution 914858 Submitted 59 minutes ago by Ling
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 914857 Submitted 1 hour 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 3. Find the sum of all the numbers of the input vector
Solution 914856 Submitted 1 hour 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 3. Find the sum of all the numbers of the input vector
Solution 914855 Submitted 1 hour and 13 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 3. Find the sum of all the numbers of the input vector
Solution 914854 Submitted 1 hour and 14 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 3. Find the sum of all the numbers of the input vector
Solution 914853 Submitted 1 hour and 15 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 914852 Submitted 1 hour and 16 minutes ago by Isaac Powell
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 914851 Submitted 1 hour and 22 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 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 914850 Submitted 1 hour and 30 minutes ago by Isaac Powell
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 914849 Submitted 1 hour and 32 minutes ago by Isaac Powell
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 914848 Submitted 1 hour 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 39. Which values occur exactly three times?
Solution 914847 Submitted 1 hour 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 7. Column Removal
Solution 914846 Submitted 1 hour 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 39. Which values occur exactly three times?
Solution 914845 Submitted 1 hour 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 7. Column Removal
Solution 914844 Submitted 1 hour and 44 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 11. Back and Forth Rows
Solution 914843 Submitted 1 hour and 44 minutes ago by Yu Zhang
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 914842 Submitted 1 hour and 51 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 914841 Submitted 1 hour and 51 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 914840 Submitted 1 hour and 53 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 213. Create a dictionary
Solution 914839 Submitted 1 hour and 53 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 33. Create times-tables
Solution 914838 Submitted 2 hours and 11 minutes ago by JJ519
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 914837 Submitted 2 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.
43Size
0 Comments
Problem 12. Fibonacci sequence
Solution 914835 Submitted 2 hours and 13 minutes ago by JJ519
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
43Size
0 Comments
Problem 545. Flip the main diagonal of a matrix
Solution 914834 Submitted 2 hours and 15 minutes ago by Francisco
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 12. Fibonacci sequence
Solution 914833 Submitted 2 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.
Incorrect
0 Comments
Problem 12. Fibonacci sequence
Solution 914832 Submitted 2 hours and 18 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 12. Fibonacci sequence
Solution 914831 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 12. Fibonacci sequence
Solution 914830 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 12. Fibonacci sequence
Solution 914829 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.
49Size
0 Comments
Problem 44. Trimming Spaces
Solution 914828 Submitted 2 hours and 23 minutes ago by Brendan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 12. Fibonacci sequence
Solution 914827 Submitted 2 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 12. Fibonacci sequence
Solution 914826 Submitted 2 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 12. Fibonacci sequence
Solution 914825 Submitted 2 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.
12Size
0 Comments
Problem 1. Times 2 - START HERE
Solution 914824 Submitted 2 hours and 26 minutes ago by Reggie St. Louis
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 44. Trimming Spaces
Solution 914823 Submitted 2 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 44. Trimming Spaces
Solution 914822 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.
217Size
0 Comments
Problem 53. Duplicates
Solution 914821 Submitted 2 hours and 40 minutes ago by William
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 53. Duplicates
Solution 914820 Submitted 2 hours and 41 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 53. Duplicates
Solution 914819 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 53. Duplicates
Solution 914818 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 53. Duplicates
Solution 914817 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.
10Size
0 Comments
Problem 149. Is my wife right?
Solution 914816 Submitted 2 hours and 56 minutes ago by Shariq Bokhari
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 914815 Submitted 2 hours and 57 minutes ago by Shariq Bokhari
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 32. Most nonzero elements in row
Solution 914814 Submitted 3 hours and 1 minute ago by Yu Zhang
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 914813 Submitted 3 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.