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.

Incorrect
0 Comments
Problem 27. Pangrams!
Solution 707456 Submitted 1 hour 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 6. Select every other element of a vector
Solution 707388 Submitted 4 hours and 30 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 26. Determine if input is odd
Solution 707382 Submitted 4 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.
Incorrect
0 Comments
Problem 7. Column Removal
Solution 707325 Submitted 5 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.
20Size
0 Comments
Problem 34. Binary numbers
Solution 707248 Submitted 8 hours and 31 minutes ago by Lessmann
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 34. Binary numbers
Solution 707247 Submitted 8 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.
20Size
0 Comments
Problem 13. Remove all the consonants
Solution 707107 Submitted 16 hours and 18 minutes ago by Mike
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 707104 Submitted 16 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.
Incorrect
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 707100 Submitted 16 hours and 34 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 14. Find the numeric mean of the prime numbers in a matrix.
Solution 707068 Submitted 18 hours and 11 minutes ago by MikeH
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 5. Triangle Numbers
Solution 707059 Submitted 18 hours and 52 minutes ago by MikeH
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2722. Comments
Solution 707030 Submitted 20 hours and 26 minutes ago by maddie lyda
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2610. counting for loop
Solution 706936 Submitted on 27 Jul 2015 at 14:32
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 706913 Submitted on 27 Jul 2015 at 14:16 by Changming Sun
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 42456. Create an array (n,n) where only diagonal elements are '1' and others are '0'
Solution 706789 Submitted on 27 Jul 2015 at 8:35 by Abdullah Caliskan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 31. Remove all the words that end with "ain"
Solution 706781 Submitted on 27 Jul 2015 at 8:32 by Swapnil Kulkarni
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 706712 Submitted on 26 Jul 2015 at 22:22
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 706707 Submitted on 26 Jul 2015 at 22: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 32. Most nonzero elements in row
Solution 706673 Submitted on 26 Jul 2015 at 17:03
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 42458. Determine the mean of matrix
Solution 706565 Submitted on 26 Jul 2015 at 6:20 by Mehmet OZC
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 706541 Submitted on 26 Jul 2015 at 2:06
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 128. Sorted highest to lowest?
Solution 706494 Submitted on 25 Jul 2015 at 14:05 by Daniel
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 20. Summing digits
Solution 706342 Submitted on 24 Jul 2015 at 20:49
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 32. Most nonzero elements in row
Solution 706339 Submitted on 24 Jul 2015 at 20:48 by Jonah Bartrand
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 706307 Submitted on 24 Jul 2015 at 20:02 by Jonah Bartrand
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 706305 Submitted on 24 Jul 2015 at 20:00
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 141. Solve the Sudoku Row
Solution 706115 Submitted on 24 Jul 2015 at 14:15 by Simon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 42461. This is a palindrome and so am I
Solution 705918 Submitted on 23 Jul 2015 at 23:04 by Tim
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 20. Summing digits
Solution 705841 Submitted on 23 Jul 2015 at 19:00
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42404. Divisible by 2
Solution 705710 Submitted on 23 Jul 2015 at 15:54
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 5. Triangle Numbers
Solution 705699 Submitted on 23 Jul 2015 at 15:45 by Emilie Carpentier
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 42456. Create an array (n,n) where only diagonal elements are '1' and others are '0'
Solution 705672 Submitted on 23 Jul 2015 at 15:12 by Roberto Osorio
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 705654 Submitted on 23 Jul 2015 at 14:59
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 705548 Submitted on 23 Jul 2015 at 13:53 by Yimin Zhong
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 705390 Submitted on 23 Jul 2015 at 11:24
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2313. Narcissistic problem
Solution 705388 Submitted on 23 Jul 2015 at 11:23
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 705240 Submitted on 23 Jul 2015 at 8: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 106. Weighted average
Solution 705238 Submitted on 23 Jul 2015 at 8:14
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 705236 Submitted on 23 Jul 2015 at 8:13
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 705182 Submitted on 23 Jul 2015 at 5:53
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 62. Elapsed Time
Solution 704983 Submitted on 22 Jul 2015 at 21:26 by Craig Bradshaw
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 250. Project Euler: Problem 10, Sum of Primes
Solution 704978 Submitted on 22 Jul 2015 at 20:41 by Thomas Arnot
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 250. Project Euler: Problem 10, Sum of Primes
Solution 704973 Submitted on 22 Jul 2015 at 20:35
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 250. Project Euler: Problem 10, Sum of Primes
Solution 704971 Submitted on 22 Jul 2015 at 20:35
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 42458. Determine the mean of matrix
Solution 704929 Submitted on 22 Jul 2015 at 19:39 by Michael
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42458. Determine the mean of matrix
Solution 704922 Submitted on 22 Jul 2015 at 19:33
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 933. Ordinal numbers
Solution 704774 Submitted on 22 Jul 2015 at 14:53
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 704752 Submitted on 22 Jul 2015 at 14:19 by Simon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 167. Pizza!
Solution 704713 Submitted on 22 Jul 2015 at 13:41
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 704700 Submitted on 22 Jul 2015 at 13:30 by Lessmann
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.