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.

47Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 591239 Submitted 15 minutes ago by Joe
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 591238 Submitted 20 minutes ago
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 591237 Submitted 24 minutes ago by Joe
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 591236 Submitted 27 minutes ago by Joe
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 591235 Submitted 29 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 591234 Submitted 33 minutes ago by Joe
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 591233 Submitted 1 hour and 40 minutes ago by Raymond Phan
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 591232 Submitted 1 hour and 40 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
1 Comment
Problem 33. Create times-tables
Solution 591231 Submitted 1 hour and 41 minutes ago by Christian
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 591230 Submitted 1 hour and 55 minutes ago by Henry Cervantes
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 591227 Submitted 3 hours and 19 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 591226 Submitted 3 hours and 20 minutes ago by Brody Lund
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 6. Select every other element of a vector
Solution 591225 Submitted 3 hours and 21 minutes ago by Brody Lund
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 591224 Submitted 3 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.
13Size
0 Comments
Problem 8. Add two numbers
Solution 591223 Submitted 3 hours and 24 minutes ago by Brody Lund
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 591222 Submitted 3 hours and 24 minutes ago by Brody Lund
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 591221 Submitted 3 hours and 26 minutes ago by Brody Lund
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 591220 Submitted 3 hours and 27 minutes ago by Brody Lund
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
32Size
0 Comments
Problem 3016. Twin Primes
Solution 591219 Submitted 4 hours and 7 minutes ago by Alfonso Nieto-Castanon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 230. Project Euler: Problem 1, Multiples of 3 and 5
Solution 591218 Submitted 4 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.
38Size
0 Comments
Problem 3012. Self-similarity 3 - Every other pair of terms
Solution 591217 Submitted 4 hours and 11 minutes ago by Alfonso Nieto-Castanon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 3012. Self-similarity 3 - Every other pair of terms
Solution 591216 Submitted 4 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 230. Project Euler: Problem 1, Multiples of 3 and 5
Solution 591215 Submitted 4 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.
17Size
0 Comments
Problem 2953. Split array into pieces according to corresponding array
Solution 591214 Submitted 4 hours and 16 minutes ago by Alfonso Nieto-Castanon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 2953. Split array into pieces according to corresponding array
Solution 591213 Submitted 4 hours and 17 minutes ago by Alfonso Nieto-Castanon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
38Size
0 Comments
Problem 230. Project Euler: Problem 1, Multiples of 3 and 5
Solution 591212 Submitted 4 hours and 24 minutes ago by diogo kenski
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 3008. Carnot cycle
Solution 591211 Submitted 4 hours and 24 minutes ago by Alfonso Nieto-Castanon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
42Size
0 Comments
Problem 230. Project Euler: Problem 1, Multiples of 3 and 5
Solution 591210 Submitted 4 hours and 25 minutes ago by diogo kenski
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 3008. Carnot cycle
Solution 591209 Submitted 4 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.
27Size
0 Comments
Problem 3011. Self-similarity 2 - Every third term
Solution 591208 Submitted 4 hours and 31 minutes ago by Alfonso Nieto-Castanon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 230. Project Euler: Problem 1, Multiples of 3 and 5
Solution 591207 Submitted 4 hours and 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 3011. Self-similarity 2 - Every third term
Solution 591206 Submitted 4 hours and 32 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
50Size
0 Comments
Problem 230. Project Euler: Problem 1, Multiples of 3 and 5
Solution 591205 Submitted 4 hours and 33 minutes ago by diogo kenski
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
35Size
0 Comments
Problem 2910. Mersenne Primes vs. All Primes
Solution 591204 Submitted 4 hours and 35 minutes ago by Alfonso Nieto-Castanon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
31Size
0 Comments
Problem 2910. Mersenne Primes vs. All Primes
Solution 591203 Submitted 4 hours and 36 minutes ago by Alfonso Nieto-Castanon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
37Size
0 Comments
Problem 2910. Mersenne Primes vs. All Primes
Solution 591202 Submitted 4 hours and 41 minutes ago by Alfonso Nieto-Castanon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
44Size
0 Comments
Problem 3003. Mobius function
Solution 591201 Submitted 4 hours and 45 minutes ago by Alfonso Nieto-Castanon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
42Size
0 Comments
Problem 3003. Mobius function
Solution 591200 Submitted 4 hours and 47 minutes ago by Alfonso Nieto-Castanon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 3003. Mobius function
Solution 591199 Submitted 4 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.
46Size
0 Comments
Problem 25. Remove any row in which a NaN appears
Solution 591198 Submitted 4 hours and 50 minutes ago by Joseph Laub
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
55Size
0 Comments
Problem 230. Project Euler: Problem 1, Multiples of 3 and 5
Solution 591197 Submitted 4 hours and 50 minutes ago by diogo kenski
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 591196 Submitted 4 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.
15Size
0 Comments
Problem 3020. Prime Letters = Removing
Solution 591195 Submitted 4 hours and 55 minutes ago by Alfonso Nieto-Castanon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 3020. Prime Letters = Removing
Solution 591194 Submitted 4 hours and 55 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 3017. Baseball Pitch Question
Solution 591193 Submitted 4 hours and 55 minutes ago by Alfonso Nieto-Castanon
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 591192 Submitted 4 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.
8Size
0 Comments
Problem 2999. Billiards
Solution 591191 Submitted 4 hours and 58 minutes ago by Alfonso Nieto-Castanon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 230. Project Euler: Problem 1, Multiples of 3 and 5
Solution 591190 Submitted 4 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.
50Size
0 Comments
Problem 2944. Areas
Solution 591189 Submitted 5 hours and 1 minute ago by Alfonso Nieto-Castanon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 230. Project Euler: Problem 1, Multiples of 3 and 5
Solution 591188 Submitted 5 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.