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.

22Size
0 Comments
Problem 167. Pizza!
Solution 925855 Submitted on 21 Jul 2016 at 14:05 by Andreas Hoffmann
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 925853 Submitted on 21 Jul 2016 at 13:49 by jv
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 925852 Submitted on 21 Jul 2016 at 13:47 by jv
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 5. Triangle Numbers
Solution 925843 Submitted on 21 Jul 2016 at 12:50 by KQ
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 5. Triangle Numbers
Solution 925842 Submitted on 21 Jul 2016 at 12:50 by KQ
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 925828 Submitted on 21 Jul 2016 at 11:52
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 925826 Submitted on 21 Jul 2016 at 11:50
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 2019. Dimensions of a rectangle
Solution 925801 Submitted on 21 Jul 2016 at 10:27 by Amir Parsian
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 141. Solve the Sudoku Row
Solution 925800 Submitted on 21 Jul 2016 at 10:25 by Amir Parsian
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 30. Sort a list of complex numbers based on far they are from the origin.
Solution 925799 Submitted on 21 Jul 2016 at 9:50 by Dennie
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 27. Pangrams!
Solution 925789 Submitted on 21 Jul 2016 at 9:05 by TurqoiseInt
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 304. Bottles of beer
Solution 925774 Submitted on 21 Jul 2016 at 8:00 by Susanne Roth
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 925746 Submitted on 21 Jul 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 925745 Submitted on 21 Jul 2016 at 2:18
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 925743 Submitted on 21 Jul 2016 at 2:16 by Pamela Kryschtal
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42893. Look Up Mapping
Solution 925739 Submitted on 21 Jul 2016 at 1:23
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 925732 Submitted on 20 Jul 2016 at 21:56 by Isaac Rodriguez
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 925721 Submitted on 20 Jul 2016 at 21:35 by Raina
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 925720 Submitted on 20 Jul 2016 at 21: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 26. Determine if input is odd
Solution 925719 Submitted on 20 Jul 2016 at 21: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 26. Determine if input is odd
Solution 925717 Submitted on 20 Jul 2016 at 21:26
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 2018. Side of a rhombus
Solution 925697 Submitted on 20 Jul 2016 at 20:13 by Katherine Sherrill
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 925670 Submitted on 20 Jul 2016 at 18:54 by Landon Miller
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 925669 Submitted on 20 Jul 2016 at 18:48
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 925668 Submitted on 20 Jul 2016 at 18:47
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 925667 Submitted on 20 Jul 2016 at 18:47
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 925666 Submitted on 20 Jul 2016 at 18: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 925662 Submitted on 20 Jul 2016 at 18:38
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 925658 Submitted on 20 Jul 2016 at 18:34 by James Mossner
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 925656 Submitted on 20 Jul 2016 at 18:33
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 200. does it touch ?
Solution 925640 Submitted on 20 Jul 2016 at 17:49 by Stephanie O'Neil
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 925639 Submitted on 20 Jul 2016 at 17:44 by Stephanie O'Neil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2574. Replacing a row
Solution 925637 Submitted on 20 Jul 2016 at 17:42
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 1958. Add a row of zeros on top of a matrix
Solution 925635 Submitted on 20 Jul 2016 at 17:41 by Stephanie O'Neil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 42551. Equality check: Number of bricks
Solution 925632 Submitted on 20 Jul 2016 at 17:40 by Stephanie O'Neil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 1957. Check if equal
Solution 925630 Submitted on 20 Jul 2016 at 17:39 by Stephanie O'Neil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 1957. Check if equal
Solution 925629 Submitted on 20 Jul 2016 at 17:39 by Stephanie O'Neil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1957. Check if equal
Solution 925628 Submitted on 20 Jul 2016 at 17: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 1957. Check if equal
Solution 925626 Submitted on 20 Jul 2016 at 17:36
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1211. Create an 'arrow-head" matrix
Solution 925614 Submitted on 20 Jul 2016 at 17:30
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 2017. Side of an equilateral triangle
Solution 925606 Submitted on 20 Jul 2016 at 16:56 by Katherine Sherrill
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2017. Side of an equilateral triangle
Solution 925605 Submitted on 20 Jul 2016 at 16:56
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 4. Make a checkerboard matrix
Solution 925595 Submitted on 20 Jul 2016 at 16:37 by He Ma
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2017. Side of an equilateral triangle
Solution 925592 Submitted on 20 Jul 2016 at 16:32
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 925589 Submitted on 20 Jul 2016 at 16:07 by He Ma
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 925586 Submitted on 20 Jul 2016 at 16:06
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 2019. Dimensions of a rectangle
Solution 925584 Submitted on 20 Jul 2016 at 16:02 by Katherine Sherrill
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 925583 Submitted on 20 Jul 2016 at 15:58 by He Ma
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 925582 Submitted on 20 Jul 2016 at 15:57
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 925581 Submitted on 20 Jul 2016 at 15:56
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.