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.

28Size
0 Comments
Problem 4. Make a checkerboard matrix
Solution 898671 Submitted 13 minutes ago by Orr Machlev
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 898670 Submitted 13 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 898667 Submitted 21 minutes ago by Orr Machlev
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 898666 Submitted 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 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 898665 Submitted 24 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 6. Select every other element of a vector
Solution 898625 Submitted 7 hours and 54 minutes ago by Jordan Segal
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 898617 Submitted 8 hours and 16 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 167. Pizza!
Solution 898615 Submitted 8 hours and 18 minutes ago by Pietro Kumarapperuma
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 898614 Submitted 8 hours and 19 minutes ago by tony jacobs
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 898613 Submitted 8 hours and 38 minutes ago by franz heubach
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 898611 Submitted 8 hours and 46 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 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 898610 Submitted 8 hours and 47 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 898608 Submitted 8 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.
22Size
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 898594 Submitted 10 hours and 4 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 32. Most nonzero elements in row
Solution 898565 Submitted 10 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 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 898553 Submitted 11 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.
22Size
0 Comments
Problem 5. Triangle Numbers
Solution 898551 Submitted 11 hours and 37 minutes ago by franz heubach
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 25. Remove any row in which a NaN appears
Solution 898533 Submitted 12 hours and 6 minutes ago by Rory Boyle
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 26. Determine if input is odd
Solution 898529 Submitted 12 hours and 11 minutes ago by franz heubach
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 33. Create times-tables
Solution 898509 Submitted 12 hours and 30 minutes ago by Orr Machlev
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 2550. Evaluating a polynomial
Solution 898495 Submitted 12 hours and 39 minutes ago by Abdelhak ARESMOUK
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 6. Select every other element of a vector
Solution 898451 Submitted 13 hours and 20 minutes ago by JP
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 898447 Submitted 13 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 6. Select every other element of a vector
Solution 898445 Submitted 13 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 6. Select every other element of a vector
Solution 898444 Submitted 13 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.
28Size
0 Comments
Problem 26. Determine if input is odd
Solution 898441 Submitted 13 hours and 31 minutes ago by JP
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 898440 Submitted 13 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.
21Size
0 Comments
Problem 42863. Replace values out of an interval with the lower or upper values
Solution 898427 Submitted 16 hours and 50 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.
24Size
0 Comments
Problem 30. Sort a list of complex numbers based on far they are from the origin.
Solution 898420 Submitted 17 hours and 37 minutes ago by Geert-Jan Heldens
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 30. Sort a list of complex numbers based on far they are from the origin.
Solution 898419 Submitted 17 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.
28Size
0 Comments
Problem 42579. Number of pennies
Solution 898415 Submitted 17 hours and 48 minutes ago by Marco Castelli
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 26. Determine if input is odd
Solution 898412 Submitted 18 hours and 15 minutes ago by Avinash Nayak
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 898411 Submitted 18 hours and 16 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 1087. Magic is simple (for beginners)
Solution 898398 Submitted 18 hours and 45 minutes ago by Abdelhak ARESMOUK
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 898393 Submitted 18 hours and 49 minutes ago by Abdelhak ARESMOUK
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 26. Determine if input is odd
Solution 898388 Submitted 21 hours and 44 minutes ago by Pietro Kumarapperuma
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 898386 Submitted 21 hours and 49 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 898385 Submitted 21 hours and 53 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 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 898380 Submitted 23 hours and 34 minutes ago by Pietro Kumarapperuma
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 898379 Submitted 23 hours and 36 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 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 898378 Submitted 23 hours and 37 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 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 898377 Submitted 23 hours and 39 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 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 898376 Submitted 23 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 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 898375 Submitted 23 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 6. Select every other element of a vector
Solution 898368 Submitted on 30 May 2016 at 2:21
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 898367 Submitted on 30 May 2016 at 2:18
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 898366 Submitted on 30 May 2016 at 2:16
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 898365 Submitted on 30 May 2016 at 2:08
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 898364 Submitted on 30 May 2016 at 2:08
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 898363 Submitted on 30 May 2016 at 2:07
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.