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.

Incorrect
0 Comments
Problem 752. Is X a Fibonacci Matrix?
Solution 608223 Submitted 4 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
34Size
0 Comments
Problem 9. Who Has the Most Change?
Solution 608222 Submitted 4 minutes ago by Riccardo
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
40Size
0 Comments
Problem 9. Who Has the Most Change?
Solution 608221 Submitted 6 minutes ago by Riccardo
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 649. Return the first and last character of a string
Solution 608220 Submitted 6 minutes ago by Alexander Razmyslov
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 9. Who Has the Most Change?
Solution 608219 Submitted 8 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 649. Return the first and last character of a string
Solution 608218 Submitted 8 minutes ago by Alexander Razmyslov
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 1636. ZigZag matrix with reflected format
Solution 608217 Submitted 15 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.
12Size
0 Comments
Problem 1. Times 2 - START HERE
Solution 608216 Submitted 15 minutes ago by Gauti
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 608215 Submitted 16 minutes ago by Riccardo
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 19. Swap the first and last columns
Solution 608214 Submitted 18 minutes ago by Riccardo
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 19. Swap the first and last columns
Solution 608213 Submitted 19 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 19. Swap the first and last columns
Solution 608212 Submitted 19 minutes ago by Riccardo
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 19. Swap the first and last columns
Solution 608211 Submitted 19 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 608210 Submitted 20 minutes ago by Gauti
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
36Size
0 Comments
Problem 19. Swap the first and last columns
Solution 608209 Submitted 23 minutes ago by Riccardo
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 608208 Submitted 25 minutes ago by Gauti
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 167. Pizza!
Solution 608207 Submitted 27 minutes ago by Gauti
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 5. Triangle Numbers
Solution 608206 Submitted 28 minutes ago by Riccardo
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 7. Column Removal
Solution 608205 Submitted 29 minutes ago by Riccardo
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 167. Pizza!
Solution 608204 Submitted 32 minutes ago by Riccardo
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 167. Pizza!
Solution 608203 Submitted 33 minutes ago by Riccardo
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 26. Determine if input is odd
Solution 608202 Submitted 34 minutes ago by Riccardo
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 608201 Submitted 34 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 26. Determine if input is odd
Solution 608200 Submitted 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 26. Determine if input is odd
Solution 608199 Submitted 38 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
57Size
0 Comments
Problem 33. Create times-tables
Solution 608197 Submitted 41 minutes ago by Li Yjie
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 6. Select every other element of a vector
Solution 608196 Submitted 45 minutes ago by Riccardo
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 608195 Submitted 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 1896. Index one element in each vector of an array along a given dimension
Solution 608194 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.
41Size
0 Comments
Problem 23. Finding Perfect Squares
Solution 608193 Submitted 1 hour and 11 minutes ago by Zhao Dennis
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
68Size
0 Comments
Problem 12. Fibonacci sequence
Solution 608192 Submitted 1 hour and 13 minutes ago by Li Yjie
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 608191 Submitted 1 hour and 17 minutes ago by Riccardo
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 608190 Submitted 1 hour and 18 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 26. Determine if input is odd
Solution 608189 Submitted 1 hour and 20 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 608188 Submitted 1 hour and 23 minutes ago by Riccardo
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 608187 Submitted 1 hour and 25 minutes ago by Riccardo
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 608186 Submitted 1 hour and 26 minutes ago by Riccardo
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 608185 Submitted 1 hour and 26 minutes ago by Riccardo
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
31Size
0 Comments
Problem 2051. is the number happy?
Solution 608184 Submitted 1 hour and 33 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.
18Size
0 Comments
Problem 120. radius of a spherical planet
Solution 608183 Submitted 1 hour and 34 minutes ago by huang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 30. Sort a list of complex numbers based on far they are from the origin.
Solution 608181 Submitted 1 hour and 48 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 1659. Fahrenheit to Celsius using multiple statements
Solution 608180 Submitted 1 hour and 48 minutes ago by huang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 1665. Create a row array using double colon operator
Solution 608179 Submitted 1 hour and 51 minutes ago by huang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 115. Distance walked 1D
Solution 608178 Submitted 1 hour and 53 minutes ago by huang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 115. Distance walked 1D
Solution 608177 Submitted 1 hour and 55 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 2163. Evaluate Polynomial
Solution 608176 Submitted 2 hours and 18 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 2911. Matlab Basics II - squares
Solution 608175 Submitted 2 hours and 21 minutes ago by Pruthvi teja
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2911. Matlab Basics II - squares
Solution 608174 Submitted 2 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.
Incorrect
0 Comments
Problem 207. hackathon impossible
Solution 608173 Submitted 2 hours and 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 563. How to add?
Solution 608172 Submitted 2 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.