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.

26Size
0 Comments
Problem 28. Counting Money
Solution 655882 Submitted on 19 Apr 2015 at 23:34 by Vanessa Salazar
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 23. Finding Perfect Squares
Solution 655878 Submitted on 19 Apr 2015 at 23:27
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 23. Finding Perfect Squares
Solution 655877 Submitted on 19 Apr 2015 at 23:27
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 37. Pascal's Triangle
Solution 655874 Submitted on 19 Apr 2015 at 23:20 by Vanessa Salazar
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 655873 Submitted on 19 Apr 2015 at 23:17 by Vanessa Salazar
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 8. Add two numbers
Solution 655872 Submitted on 19 Apr 2015 at 23:16 by Benjamin Vandendriessche
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 655866 Submitted on 19 Apr 2015 at 23:02 by Vanessa Salazar
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 655858 Submitted on 19 Apr 2015 at 22:47 by Vanessa Salazar
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 655857 Submitted on 19 Apr 2015 at 22: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 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 655852 Submitted on 19 Apr 2015 at 22:22
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 655849 Submitted on 19 Apr 2015 at 22:15 by Vanessa Salazar
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 8. Add two numbers
Solution 655846 Submitted on 19 Apr 2015 at 22:09
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 655841 Submitted on 19 Apr 2015 at 22:03
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 655840 Submitted on 19 Apr 2015 at 22:02
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 655836 Submitted on 19 Apr 2015 at 21:50
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 655835 Submitted on 19 Apr 2015 at 21:49
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 655832 Submitted on 19 Apr 2015 at 21: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 8. Add two numbers
Solution 655831 Submitted on 19 Apr 2015 at 21:43
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 8. Add two numbers
Solution 655829 Submitted on 19 Apr 2015 at 21:39
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 8. Add two numbers
Solution 655828 Submitted on 19 Apr 2015 at 21:38
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 8. Add two numbers
Solution 655827 Submitted on 19 Apr 2015 at 21:34
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 655823 Submitted on 19 Apr 2015 at 20: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 26. Determine if input is odd
Solution 655822 Submitted on 19 Apr 2015 at 20: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 26. Determine if input is odd
Solution 655820 Submitted on 19 Apr 2015 at 20: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 26. Determine if input is odd
Solution 655813 Submitted on 19 Apr 2015 at 20: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 26. Determine if input is odd
Solution 655812 Submitted on 19 Apr 2015 at 20: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 26. Determine if input is odd
Solution 655811 Submitted on 19 Apr 2015 at 20:20
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 655809 Submitted on 19 Apr 2015 at 20:19
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 655794 Submitted on 19 Apr 2015 at 19:52
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 26. Determine if input is odd
Solution 655788 Submitted on 19 Apr 2015 at 19:25 by Al P.
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 26. Determine if input is odd
Solution 655786 Submitted on 19 Apr 2015 at 19:24 by Al P.
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 655785 Submitted on 19 Apr 2015 at 19: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 26. Determine if input is odd
Solution 655784 Submitted on 19 Apr 2015 at 19: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 655783 Submitted on 19 Apr 2015 at 19: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 6. Select every other element of a vector
Solution 655766 Submitted on 19 Apr 2015 at 19:07
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 655765 Submitted on 19 Apr 2015 at 19:05
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 655764 Submitted on 19 Apr 2015 at 19:05
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 2340. Numbers spiral diagonals (Part 1)
Solution 655752 Submitted on 19 Apr 2015 at 16:56 by Paul Berglund
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 2351. Replace Nonzero Numbers with 1
Solution 655751 Submitted on 19 Apr 2015 at 16:39 by Paul Berglund
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 1434. Implement full adder circuit
Solution 655740 Submitted on 19 Apr 2015 at 12:37 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 191. Proper Factors
Solution 655735 Submitted on 19 Apr 2015 at 11:26
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 191. Proper Factors
Solution 655734 Submitted on 19 Apr 2015 at 11:25
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 1164. Sum the Digits of a Number
Solution 655731 Submitted on 19 Apr 2015 at 7:54 by Gareth Lee
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 1162. Happy 2013...
Solution 655724 Submitted on 19 Apr 2015 at 7:10 by LY Cao
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 646. Getting the row and column location from a matrix
Solution 655717 Submitted on 19 Apr 2015 at 6:37 by Gareth Lee
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 646. Getting the row and column location from a matrix
Solution 655716 Submitted on 19 Apr 2015 at 6:35
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 943. "mirror" matrix
Solution 655711 Submitted on 19 Apr 2015 at 6:23 by Gareth Lee
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 868. Replace all zeros and NaNs in a matrix with the string 'error'
Solution 655710 Submitted on 19 Apr 2015 at 6:16 by LY Cao
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 344. Back to basics 2 - Function Path
Solution 655703 Submitted on 19 Apr 2015 at 5:53
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1806. 04 - Scalar Equations 1
Solution 655695 Submitted on 19 Apr 2015 at 5:38
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.