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.

92Size
0 Comments
Problem 930. 1D DCT-II transform.
Solution 709924 Submitted 7 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 930. 1D DCT-II transform.
Solution 709923 Submitted 8 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 1. Times 2 - START HERE
Solution 709922 Submitted 9 minutes ago by Rendani Khobo
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 76. De-dupe
Solution 709921 Submitted 22 minutes ago by SAR
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 76. De-dupe
Solution 709920 Submitted 23 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 94. Target sorting
Solution 709919 Submitted 25 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
36Size
0 Comments
Problem 62. Elapsed Time
Solution 709918 Submitted 26 minutes ago by SAR
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1339. Travelling Salesman Problem (TSP)
Solution 709917 Submitted 27 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 76. De-dupe
Solution 709916 Submitted 38 minutes ago by SAR
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 1583. generate a matrix of Legendre polynomials
Solution 709915 Submitted 42 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.
49Size
0 Comments
Problem 74. Balanced number
Solution 709914 Submitted 43 minutes ago by SAR
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 3008. Carnot cycle
Solution 709913 Submitted 49 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 3008. Carnot cycle
Solution 709912 Submitted 52 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
49Size
0 Comments
Problem 73. Replace NaNs with the number that appears to its left in the row.
Solution 709911 Submitted 56 minutes ago by SAR
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 42484. Repeat string n times - 2
Solution 709910 Submitted 1 hour and 1 minute 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 42484. Repeat string n times - 2
Solution 709909 Submitted 1 hour and 1 minute 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 35. Quote Doubler
Solution 709908 Submitted 1 hour and 5 minutes ago by SAR
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
1326468441Size
0 Comments
Problem 1910. Blockland
Solution 709907 Submitted 1 hour and 9 minutes ago by Lessmann
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 709906 Submitted 1 hour and 17 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
36Size
0 Comments
Problem 27. Pangrams!
Solution 709905 Submitted 1 hour and 17 minutes ago by SAR
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 709904 Submitted 1 hour and 17 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 149. Is my wife right?
Solution 709903 Submitted 1 hour and 26 minutes ago by Aatiqah Fataar
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 6. Select every other element of a vector
Solution 709902 Submitted 1 hour and 28 minutes ago by Aatiqah Fataar
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 709901 Submitted 1 hour and 31 minutes ago by Aatiqah Fataar
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 8. Add two numbers
Solution 709900 Submitted 1 hour and 35 minutes ago by Aatiqah Fataar
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 709899 Submitted 1 hour and 36 minutes ago by Aatiqah Fataar
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
11Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 709898 Submitted 1 hour and 36 minutes ago by Aatiqah Fataar
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 709897 Submitted 1 hour and 37 minutes ago by SAR
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 709896 Submitted 1 hour and 38 minutes ago by Aatiqah Fataar
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
40Size
0 Comments
Problem 15. Find the longest sequence of 1's in a binary sequence.
Solution 709895 Submitted 1 hour and 56 minutes ago by SAR
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42476. Model a falling body
Solution 709894 Submitted 2 hours and 1 minute ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
7Size
0 Comments
Problem 42469. Produce a cosine wave
Solution 709893 Submitted 2 hours and 2 minutes ago by Kameswarie Nunna
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 42483. Give prime Numbers upto n
Solution 709892 Submitted 2 hours and 7 minutes ago by Gergely Patay
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42483. Give prime Numbers upto n
Solution 709891 Submitted 2 hours and 8 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 42469. Produce a cosine wave
Solution 709890 Submitted 2 hours and 8 minutes ago by Kameswarie Nunna
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 709889 Submitted 2 hours and 9 minutes ago by Mark Chalmers
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 42481. Low level NaN
Solution 709888 Submitted 2 hours and 10 minutes ago by Gergely Patay
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 167. Pizza!
Solution 709887 Submitted 2 hours and 14 minutes ago by Boitumelo Dikoko
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 149. Is my wife right?
Solution 709886 Submitted 2 hours and 16 minutes ago by Boitumelo Dikoko
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 709885 Submitted 2 hours and 18 minutes ago by Boitumelo Dikoko
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 42469. Produce a cosine wave
Solution 709884 Submitted 2 hours and 20 minutes ago by Kameswarie Nunna
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
54Size
0 Comments
Problem 42483. Give prime Numbers upto n
Solution 709882 Submitted 2 hours and 22 minutes ago by Pramit Biswas
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 8. Add two numbers
Solution 709881 Submitted 2 hours and 25 minutes ago by Boitumelo Dikoko
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 709880 Submitted 2 hours and 26 minutes ago by Boitumelo Dikoko
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 709879 Submitted 2 hours and 29 minutes ago by Boitumelo Dikoko
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
36Size
0 Comments
Problem 62. Elapsed Time
Solution 709878 Submitted 2 hours and 31 minutes ago by Lessmann
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 709877 Submitted 2 hours and 33 minutes ago by Boitumelo Dikoko
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 135. inner product of two vectors
Solution 709876 Submitted 2 hours and 38 minutes ago by amin nazari
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 709875 Submitted 2 hours and 39 minutes ago by Adam Botes
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 135. inner product of two vectors
Solution 709874 Submitted 2 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.