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.

26Size
0 Comments
Problem 5. Triangle Numbers
Solution 655027 Submitted 21 hours and 34 minutes ago by Nick Wolford
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 655026 Submitted 21 hours and 35 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 1663. Pizza value using expression with parentheses
Solution 655025 Submitted 21 hours and 35 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 1659. Fahrenheit to Celsius using multiple statements
Solution 655020 Submitted 21 hours and 37 minutes ago by Andy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 22. Remove the vowels
Solution 655010 Submitted 21 hours and 41 minutes ago by Mitchell Everett
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 654990 Submitted 22 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.
24Size
0 Comments
Problem 26. Determine if input is odd
Solution 654987 Submitted 22 hours and 15 minutes ago by Nick Wolford
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 13. Remove all the consonants
Solution 654983 Submitted 22 hours and 20 minutes ago by Mitchell Everett
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 13. Remove all the consonants
Solution 654982 Submitted 22 hours and 21 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 6. Select every other element of a vector
Solution 654926 Submitted on 17 Apr 2015 at 16:46
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 6. Select every other element of a vector
Solution 654925 Submitted on 17 Apr 2015 at 16:46
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 6. Select every other element of a vector
Solution 654924 Submitted on 17 Apr 2015 at 16:46
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 794. Matrix with different incremental runs
Solution 654923 Submitted on 17 Apr 2015 at 16:46 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 6. Select every other element of a vector
Solution 654922 Submitted on 17 Apr 2015 at 16:45
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 6. Select every other element of a vector
Solution 654919 Submitted on 17 Apr 2015 at 16:39
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 2609. If-then-else
Solution 654914 Submitted on 17 Apr 2015 at 16:32 by Navan Ruthramoorthy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 1927. Find nth maximum
Solution 654905 Submitted on 17 Apr 2015 at 16:19 by Navan Ruthramoorthy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 654903 Submitted on 17 Apr 2015 at 16:14 by Nedim Mrvoljak
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 654902 Submitted on 17 Apr 2015 at 16:13
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 654901 Submitted on 17 Apr 2015 at 16:13 by Nedim Mrvoljak
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1927. Find nth maximum
Solution 654896 Submitted on 17 Apr 2015 at 15:58
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 654895 Submitted on 17 Apr 2015 at 15:58
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 6. Select every other element of a vector
Solution 654894 Submitted on 17 Apr 2015 at 15:51
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 1974. Length of a short side
Solution 654888 Submitted on 17 Apr 2015 at 15:26 by Weirong Chen
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 2020. Area of an Isoceles Triangle
Solution 654885 Submitted on 17 Apr 2015 at 15:13 by Anurag Kotha
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2020. Area of an Isoceles Triangle
Solution 654884 Submitted on 17 Apr 2015 at 15:12
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 26. Determine if input is odd
Solution 654883 Submitted on 17 Apr 2015 at 15:02 by Thomas Spratt
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 654868 Submitted on 17 Apr 2015 at 14:43
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 654867 Submitted on 17 Apr 2015 at 14:42 by Grant P
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 459. Sum of diagonal of a square matrix
Solution 654858 Submitted on 17 Apr 2015 at 14:31 by Weirong Chen
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 28. Counting Money
Solution 654855 Submitted on 17 Apr 2015 at 14:24 by Weirong Chen
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 654850 Submitted on 17 Apr 2015 at 14:16 by Grant P
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 15. Find the longest sequence of 1's in a binary sequence.
Solution 654847 Submitted on 17 Apr 2015 at 14:14 by Weirong Chen
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 15. Find the longest sequence of 1's in a binary sequence.
Solution 654845 Submitted on 17 Apr 2015 at 14:12
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 654841 Submitted on 17 Apr 2015 at 13:59
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 654840 Submitted on 17 Apr 2015 at 13:59
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 950. Cody Matlab Version
Solution 654835 Submitted on 17 Apr 2015 at 13:47 by Nicolas Hagen
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 174. Roll the Dice!
Solution 654832 Submitted on 17 Apr 2015 at 13:39
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 174. Roll the Dice!
Solution 654831 Submitted on 17 Apr 2015 at 13:37
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 174. Roll the Dice!
Solution 654829 Submitted on 17 Apr 2015 at 13:36
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 1659. Fahrenheit to Celsius using multiple statements
Solution 654822 Submitted on 17 Apr 2015 at 13:26 by Matthew Bell
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 963. We love vectorized solutions. Problem 1 : remove the row average.
Solution 654816 Submitted on 17 Apr 2015 at 13:15
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 963. We love vectorized solutions. Problem 1 : remove the row average.
Solution 654815 Submitted on 17 Apr 2015 at 13:14
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 654805 Submitted on 17 Apr 2015 at 12:52 by Matthew Bell
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 654792 Submitted on 17 Apr 2015 at 12:37 by Vianney
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 654791 Submitted on 17 Apr 2015 at 12:37
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 120. radius of a spherical planet
Solution 654790 Submitted on 17 Apr 2015 at 12:32
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 120. radius of a spherical planet
Solution 654786 Submitted on 17 Apr 2015 at 12:30
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 44. Trimming Spaces
Solution 654785 Submitted on 17 Apr 2015 at 12:27 by vic yang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 27. Pangrams!
Solution 654773 Submitted on 17 Apr 2015 at 12:03
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.