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.

21Size
0 Comments
Problem 42863. Replace values out of an interval with the lower or upper values
Solution 898427 Submitted 1 hour and 10 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.
24Size
0 Comments
Problem 30. Sort a list of complex numbers based on far they are from the origin.
Solution 898420 Submitted 1 hour and 57 minutes ago by Geert-Jan Heldens
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 898419 Submitted 1 hour and 58 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 42579. Number of pennies
Solution 898415 Submitted 2 hours and 8 minutes ago by Marco Castelli
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 898412 Submitted 2 hours and 36 minutes ago by Avinash Nayak
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 898411 Submitted 2 hours and 37 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 1087. Magic is simple (for beginners)
Solution 898398 Submitted 3 hours and 5 minutes ago by Abdelhak ARESMOUK
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 898393 Submitted 3 hours and 9 minutes ago by Abdelhak ARESMOUK
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 26. Determine if input is odd
Solution 898388 Submitted 6 hours and 4 minutes ago by Pietro Kumarapperuma
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 898386 Submitted 6 hours and 9 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 898385 Submitted 6 hours and 13 minutes ago
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 898380 Submitted 7 hours and 54 minutes ago by Pietro Kumarapperuma
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 898379 Submitted 7 hours and 56 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 898378 Submitted 7 hours and 57 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 898377 Submitted 7 hours and 59 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 898376 Submitted 8 hours and 2 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 898375 Submitted 8 hours and 3 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 6. Select every other element of a vector
Solution 898368 Submitted 12 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 6. Select every other element of a vector
Solution 898367 Submitted 12 hours and 13 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 6. Select every other element of a vector
Solution 898366 Submitted 12 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.
Incorrect
0 Comments
Problem 26. Determine if input is odd
Solution 898365 Submitted 12 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 26. Determine if input is odd
Solution 898364 Submitted 12 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 26. Determine if input is odd
Solution 898363 Submitted 12 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.
Incorrect
0 Comments
Problem 6. Select every other element of a vector
Solution 898331 Submitted 17 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 19. Swap the first and last columns
Solution 898313 Submitted 18 hours and 16 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 157. The Hitchhiker's Guide to MATLAB
Solution 898308 Submitted 18 hours and 17 minutes ago by andrew robson
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 2747. Integer indexing array: Shift left
Solution 898287 Submitted 21 hours and 4 minutes ago by Francisco
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 30. Sort a list of complex numbers based on far they are from the origin.
Solution 898285 Submitted 21 hours and 40 minutes ago by maurel
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 898284 Submitted 21 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.
21Size
0 Comments
Problem 2751. Array resizing: Removing elements
Solution 898283 Submitted 21 hours and 51 minutes ago by Taylor Mackowski
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 898274 Submitted 22 hours and 6 minutes ago by Anais
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 380. Convert a numerical matrix into a cell array of strings
Solution 898262 Submitted 22 hours and 35 minutes ago by William
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 380. Convert a numerical matrix into a cell array of strings
Solution 898261 Submitted 22 hours and 44 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 380. Convert a numerical matrix into a cell array of strings
Solution 898260 Submitted 22 hours and 44 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 174. Roll the Dice!
Solution 898255 Submitted 23 hours and 39 minutes ago by Jerivington
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 20. Summing digits
Solution 898242 Submitted 23 hours and 52 minutes ago by kiwi
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 326. Tricky timing
Solution 898241 Submitted 23 hours and 53 minutes ago by William
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 898239 Submitted 23 hours and 56 minutes ago by Jana Anas
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 83. Prime factor digits
Solution 898235 Submitted on 29 May 2016 at 14:26 by Jana Anas
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 42574. Writing a nested function: BMI calculation
Solution 898232 Submitted on 29 May 2016 at 13:18 by Atsushi Ueno
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 42574. Writing a nested function: BMI calculation
Solution 898231 Submitted on 29 May 2016 at 13:17 by Atsushi Ueno
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 42575. Travel speed
Solution 898224 Submitted on 29 May 2016 at 13:02 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 42569. Finding values in arrays
Solution 898216 Submitted on 29 May 2016 at 10:10
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 42863. Replace values out of an interval with the lower or upper values
Solution 898203 Submitted on 29 May 2016 at 8:02 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 42543. Compute change
Solution 898200 Submitted on 29 May 2016 at 7:49
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 42543. Compute change
Solution 898198 Submitted on 29 May 2016 at 7:45 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 42543. Compute change
Solution 898197 Submitted on 29 May 2016 at 7:44
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 898189 Submitted on 29 May 2016 at 7:06
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 42572. Function call: Kilometers to miles
Solution 898180 Submitted on 29 May 2016 at 7:01 by Atsushi Ueno
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 898174 Submitted on 29 May 2016 at 5:13 by Jackson Scroggs
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.