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 42913. Pseudo Square Root (Inspired by Project Euler 266)
Solution 926666 Submitted 48 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.
25Size
0 Comments
Problem 42901. Free-time Equation
Solution 926665 Submitted 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.
21Size
0 Comments
Problem 42914. Counting the Grand Primes
Solution 926664 Submitted 53 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.
48Size
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 926663 Submitted 1 hour and 22 minutes ago by Amninder Dhillon
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 926662 Submitted 1 hour and 23 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
42Size
0 Comments
Problem 19. Swap the first and last columns
Solution 926661 Submitted 1 hour and 32 minutes ago by Amninder Dhillon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
61Size
0 Comments
Problem 4. Make a checkerboard matrix
Solution 926660 Submitted 1 hour and 43 minutes ago by Amninder Dhillon
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 926659 Submitted 2 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 106. Weighted average
Solution 926658 Submitted 3 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 106. Weighted average
Solution 926657 Submitted 3 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.
17Size
0 Comments
Problem 106. Weighted average
Solution 926656 Submitted 3 hours and 31 minutes ago by Douglas Marques
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 106. Weighted average
Solution 926655 Submitted 3 hours and 32 minutes ago by Douglas Marques
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 926654 Submitted 3 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 2847. Function definition: BMI calculator
Solution 926653 Submitted 3 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 2847. Function definition: BMI calculator
Solution 926652 Submitted 3 hours and 51 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 2847. Function definition: BMI calculator
Solution 926651 Submitted 3 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.
Incorrect
0 Comments
Problem 1. Times 2 - START HERE
Solution 926650 Submitted 5 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.
15Size
0 Comments
Problem 13. Remove all the consonants
Solution 926649 Submitted 7 hours and 16 minutes ago by Daniel Zimmermann
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
67Size
0 Comments
Problem 13. Remove all the consonants
Solution 926648 Submitted 7 hours and 18 minutes ago by Daniel Zimmermann
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 1054. What's Your BMI?
Solution 926647 Submitted 7 hours and 20 minutes ago by Atsushi Ueno
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1054. What's Your BMI?
Solution 926646 Submitted 7 hours and 20 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 1705. Find the hypotenuse
Solution 926645 Submitted 7 hours and 22 minutes ago by Atsushi Ueno
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 589. Matrix indexing with two vectors of indices
Solution 926644 Submitted 7 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 589. Matrix indexing with two vectors of indices
Solution 926643 Submitted 7 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.
12Size
0 Comments
Problem 357. Back to basics 13 - Input variables
Solution 926642 Submitted 7 hours and 26 minutes ago by Atsushi Ueno
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 1077. Count up then down
Solution 926641 Submitted 7 hours and 29 minutes ago by Atsushi Ueno
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
36Size
0 Comments
Problem 80. Test for balanced parentheses
Solution 926640 Submitted 7 hours and 33 minutes ago by Atsushi Ueno
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 926639 Submitted 7 hours and 45 minutes ago by Yang Su
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1. Times 2 - START HERE
Solution 926638 Submitted 7 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 3. Find the sum of all the numbers of the input vector
Solution 926637 Submitted 8 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 3. Find the sum of all the numbers of the input vector
Solution 926636 Submitted 8 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 3. Find the sum of all the numbers of the input vector
Solution 926635 Submitted 8 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 3. Find the sum of all the numbers of the input vector
Solution 926634 Submitted 8 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 3. Find the sum of all the numbers of the input vector
Solution 926633 Submitted 8 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 1461. Duplicate a character
Solution 926632 Submitted 8 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 1461. Duplicate a character
Solution 926631 Submitted 8 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.
13Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 926630 Submitted 8 hours and 41 minutes ago by Roshan Sai Subburaj
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 926629 Submitted 8 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 926628 Submitted 8 hours and 43 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 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 926627 Submitted 8 hours and 43 minutes ago by Roshan Sai Subburaj
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 926626 Submitted 8 hours and 45 minutes ago by Roshan Sai Subburaj
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 1035. Generate a vector like 1,2,2,3,3,3,4,4,4,4
Solution 926625 Submitted 8 hours and 50 minutes ago by Atsushi Ueno
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 926622 Submitted 10 hours and 14 minutes ago by Kuruvilla Mani
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 926621 Submitted 10 hours and 15 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
111Size
0 Comments
Problem 658. Find the biggest empty box
Solution 926620 Submitted 10 hours and 26 minutes ago by Lajos Varga
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
42Size
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 926619 Submitted 10 hours and 28 minutes ago by Kuruvilla Mani
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 926618 Submitted 10 hours and 29 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
44Size
0 Comments
Problem 6. Select every other element of a vector
Solution 926617 Submitted 10 hours and 40 minutes ago by Kuruvilla Mani
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 42914. Counting the Grand Primes
Solution 926616 Submitted 10 hours and 43 minutes ago by Jan Orwat
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 926615 Submitted 10 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.