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.

Incorrect
0 Comments
Problem 2756. Indexing the array: Shift right with variable sized arrays
Solution 827140 Submitted 20 hours and 14 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 174. Roll the Dice!
Solution 827138 Submitted 20 hours and 15 minutes ago by vahid simintan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2756. Indexing the array: Shift right with variable sized arrays
Solution 827137 Submitted 20 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.
Incorrect
0 Comments
Problem 2756. Indexing the array: Shift right with variable sized arrays
Solution 827134 Submitted 20 hours and 17 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 2746. Integer indexing array: Weekend box office
Solution 827126 Submitted 20 hours and 37 minutes ago by Jeffrey Sorenson
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 2745. Double colon operator: Counting down
Solution 827125 Submitted 20 hours and 39 minutes ago by Jeffrey Sorenson
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2744. Double colon operator: Increment by x
Solution 827124 Submitted 20 hours and 40 minutes ago by Jeffrey Sorenson
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2743. Double colon operator: Counting up
Solution 827122 Submitted 20 hours and 44 minutes ago by Jeffrey Sorenson
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2742. Indexing the array: Moving values
Solution 827115 Submitted 21 hours and 5 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 12. Fibonacci sequence
Solution 827109 Submitted 21 hours and 23 minutes ago by Anders Hellström
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 12. Fibonacci sequence
Solution 827108 Submitted 21 hours and 24 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 12. Fibonacci sequence
Solution 827107 Submitted 21 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.
25Size
0 Comments
Problem 26. Determine if input is odd
Solution 827106 Submitted 21 hours and 28 minutes ago by Anders Hellström
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 827104 Submitted 21 hours and 30 minutes ago by Anders Hellström
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 751. Implement simple rotation cypher
Solution 827101 Submitted 21 hours and 41 minutes ago by vahid simintan
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 827100 Submitted 21 hours and 42 minutes ago by Anders Hellström
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 827099 Submitted 21 hours and 43 minutes ago by Anders Hellström
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 827097 Submitted 21 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 4. Make a checkerboard matrix
Solution 827086 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.
25Size
0 Comments
Problem 26. Determine if input is odd
Solution 827081 Submitted 22 hours and 37 minutes ago by shujun
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 751. Implement simple rotation cypher
Solution 827080 Submitted 22 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 4. Make a checkerboard matrix
Solution 827079 Submitted 22 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 751. Implement simple rotation cypher
Solution 827078 Submitted 22 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 4. Make a checkerboard matrix
Solution 827077 Submitted 22 hours and 40 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 4. Make a checkerboard matrix
Solution 827076 Submitted 22 hours and 41 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 32. Most nonzero elements in row
Solution 827075 Submitted 22 hours and 52 minutes ago by vahid simintan
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 827072 Submitted 22 hours and 54 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 2756. Indexing the array: Shift right with variable sized arrays
Solution 827057 Submitted 23 hours and 4 minutes ago by James Chapman
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2756. Indexing the array: Shift right with variable sized arrays
Solution 827056 Submitted 23 hours and 4 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 2756. Indexing the array: Shift right with variable sized arrays
Solution 827055 Submitted 23 hours and 5 minutes ago by James Chapman
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2763. Constructing strings
Solution 827048 Submitted 23 hours and 7 minutes ago by Gillian Micale
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2755. Variable sized row arrays
Solution 827046 Submitted 23 hours and 8 minutes ago by James Chapman
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 1663. Pizza value using expression with parentheses
Solution 827024 Submitted 23 hours and 15 minutes ago by vahid simintan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 2759. Relational operators and row arrays: Overweight baggage
Solution 827018 Submitted 23 hours and 18 minutes ago by Gillian Micale
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 2758. Relational operators: Guessing game
Solution 827016 Submitted 23 hours and 19 minutes ago by Gillian Micale
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 2757. Linear-spaced points array
Solution 827013 Submitted 23 hours and 21 minutes ago by Gillian Micale
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 2747. Integer indexing array: Shift left
Solution 827012 Submitted 23 hours and 24 minutes ago by James Chapman
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 827005 Submitted 23 hours and 28 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 2756. Indexing the array: Shift right with variable sized arrays
Solution 827004 Submitted 23 hours and 28 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 2755. Variable sized row arrays
Solution 827000 Submitted 23 hours and 30 minutes ago by Gillian Micale
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 826999 Submitted 23 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.
28Size
0 Comments
Problem 2753. Adding an element: Ticker tape
Solution 826993 Submitted 23 hours and 34 minutes ago by Gillian Micale
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 2752. Concatenating arrays
Solution 826984 Submitted 23 hours and 37 minutes ago by Gillian Micale
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 14. Find the numeric mean of the prime numbers in a matrix.
Solution 826983 Submitted 23 hours and 37 minutes ago by James Wiley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 2751. Array resizing: Removing elements
Solution 826981 Submitted 23 hours and 37 minutes ago by Gillian Micale
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 2750. Logical indexing: High scores
Solution 826979 Submitted 23 hours and 39 minutes ago by Gillian Micale
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2749. Logical indexing: Player scores
Solution 826973 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.
21Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 826966 Submitted 23 hours and 51 minutes ago by shujun
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 826965 Submitted 23 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.
Incorrect
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 826964 Submitted 23 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.