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 2912. Matlab Basics II - Free Fall
Solution 883979 Submitted on 29 Apr 2016 at 9:49
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 1529. Sum the numbers on the main diagonal
Solution 883976 Submitted on 29 Apr 2016 at 9:49 by Marvin Schmidt
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2856. Matlab Basics - Create a row vector
Solution 883972 Submitted on 29 Apr 2016 at 9:46 by
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 233. Reverse the vector
Solution 883954 Submitted on 29 Apr 2016 at 8:20 by
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 883948 Submitted on 29 Apr 2016 at 8:02 by
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 42579. Number of pennies
Solution 883946 Submitted on 29 Apr 2016 at 8:01 by
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42579. Number of pennies
Solution 883944 Submitted on 29 Apr 2016 at 8:00
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42579. Number of pennies
Solution 883943 Submitted on 29 Apr 2016 at 7:59
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 883942 Submitted on 29 Apr 2016 at 7:59 by
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 883941 Submitted on 29 Apr 2016 at 7:57 by
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42578. Prime checker
Solution 883934 Submitted on 29 Apr 2016 at 7: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 42577. Writing a recursive math function
Solution 883932 Submitted on 29 Apr 2016 at 7:46 by
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 157. The Hitchhiker's Guide to MATLAB
Solution 883930 Submitted on 29 Apr 2016 at 7:42 by Atsushi Ueno
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 12. Fibonacci sequence
Solution 883918 Submitted on 29 Apr 2016 at 6:46 by Atsushi Ueno
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 883913 Submitted on 29 Apr 2016 at 6:36 by
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 883912 Submitted on 29 Apr 2016 at 6:27 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 2228. Time Expansion
Solution 883896 Submitted on 29 Apr 2016 at 6:10
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2228. Time Expansion
Solution 883894 Submitted on 29 Apr 2016 at 6:10
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 813. Multiply 2 numbers
Solution 883885 Submitted on 29 Apr 2016 at 5: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 813. Multiply 2 numbers
Solution 883884 Submitted on 29 Apr 2016 at 5: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 813. Multiply 2 numbers
Solution 883883 Submitted on 29 Apr 2016 at 5:46
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 2559. Check that number is whole number
Solution 883877 Submitted on 29 Apr 2016 at 5:19 by
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 34. Binary numbers
Solution 883866 Submitted on 29 Apr 2016 at 4:19
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 42579. Number of pennies
Solution 883864 Submitted on 29 Apr 2016 at 3:58 by
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 883862 Submitted on 29 Apr 2016 at 3:46
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 37. Pascal's Triangle
Solution 883859 Submitted on 29 Apr 2016 at 3:33 by
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 883857 Submitted on 29 Apr 2016 at 3:29 by
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 883856 Submitted on 29 Apr 2016 at 3:29
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 883854 Submitted on 29 Apr 2016 at 3:23
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 883853 Submitted on 29 Apr 2016 at 3:22 by
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2019. Dimensions of a rectangle
Solution 883852 Submitted on 29 Apr 2016 at 3:21
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 883803 Submitted on 29 Apr 2016 at 1:07 by
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 109. Check if sorted
Solution 883791 Submitted on 28 Apr 2016 at 21:25 by Francisco
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 1360. Special Relativity 101.
Solution 883778 Submitted on 28 Apr 2016 at 20:05 by Peng Liu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 167. Pizza!
Solution 883764 Submitted on 28 Apr 2016 at 18: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 883762 Submitted on 28 Apr 2016 at 18: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 883761 Submitted on 28 Apr 2016 at 18: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 883755 Submitted on 28 Apr 2016 at 18: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 883754 Submitted on 28 Apr 2016 at 18: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 26. Determine if input is odd
Solution 883753 Submitted on 28 Apr 2016 at 17:59
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 883752 Submitted on 28 Apr 2016 at 17:59
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 883751 Submitted on 28 Apr 2016 at 17:57
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 174. Roll the Dice!
Solution 883750 Submitted on 28 Apr 2016 at 17:55 by Brendan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 174. Roll the Dice!
Solution 883746 Submitted on 28 Apr 2016 at 17:51
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 7. Column Removal
Solution 883735 Submitted on 28 Apr 2016 at 16:59 by Matthias Schabel
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 42837. Increasing sub-sequence (Level 1)
Solution 883711 Submitted on 28 Apr 2016 at 14:16 by Peng Liu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 1665. Create a row array using double colon operator
Solution 883689 Submitted on 28 Apr 2016 at 12:53 by
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1665. Create a row array using double colon operator
Solution 883688 Submitted on 28 Apr 2016 at 12:51
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 883681 Submitted on 28 Apr 2016 at 12:11
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 883680 Submitted on 28 Apr 2016 at 12:11
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.