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

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 1312. Rescaling vector
Solution 481582 Submitted 10 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 142. give nth decimal place of pi
Solution 481580 Submitted 16 minutes ago by Pritesh Shah
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1216. Mean ignoring NaNs
Solution 481563 Submitted 1 hour and 27 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 353. Back to basics 9 - Indexed References
Solution 481536 Submitted 2 hours and 29 minutes ago by Pritesh Shah
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 353. Back to basics 9 - Indexed References
Solution 481535 Submitted 2 hours and 33 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 353. Back to basics 9 - Indexed References
Solution 481534 Submitted 2 hours and 34 minutes ago by Pritesh Shah
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 642. Convert a vector into a number
Solution 481532 Submitted 2 hours and 41 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 642. Convert a vector into a number
Solution 481531 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.
21Size
0 Comments
Problem 760. Duplicate each element of a vector.
Solution 481530 Submitted 2 hours and 51 minutes ago by Pritesh Shah
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 24. Function Iterator
Solution 481527 Submitted 3 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.
26Size
0 Comments
Problem 170. First N Perfect Squares
Solution 481522 Submitted 3 hours and 13 minutes ago by Pritesh Shah
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 481512 Submitted 5 hours and 49 minutes ago by Sylvia long
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 2051. is the number happy?
Solution 481506 Submitted 8 hours and 31 minutes ago by Binbin Qi
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2051. is the number happy?
Solution 481505 Submitted 8 hours and 32 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 481503 Submitted 8 hours and 40 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 233. Reverse the vector
Solution 481491 Submitted 11 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 233. Reverse the vector
Solution 481487 Submitted 11 hours and 19 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 233. Reverse the vector
Solution 481486 Submitted 11 hours and 20 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 233. Reverse the vector
Solution 481485 Submitted 11 hours and 20 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 25. Remove any row in which a NaN appears
Solution 481479 Submitted 11 hours and 26 minutes ago by Sebastian
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 481478 Submitted 11 hours and 28 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 481477 Submitted 11 hours and 30 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 481476 Submitted 11 hours and 30 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 481475 Submitted 11 hours and 31 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 481474 Submitted 11 hours and 31 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 25. Remove any row in which a NaN appears
Solution 481473 Submitted 11 hours and 32 minutes ago by Sebastian
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 25. Remove any row in which a NaN appears
Solution 481466 Submitted 11 hours and 48 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 25. Remove any row in which a NaN appears
Solution 481465 Submitted 11 hours and 49 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 34. Binary numbers
Solution 481458 Submitted 12 hours and 28 minutes ago by Miao
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 481457 Submitted 12 hours and 32 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 481445 Submitted 15 hours and 10 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 481444 Submitted 15 hours and 12 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 481443 Submitted 15 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 26. Determine if input is odd
Solution 481442 Submitted 15 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 26. Determine if input is odd
Solution 481440 Submitted 15 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 481439 Submitted 15 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 481438 Submitted 15 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.
Incorrect
0 Comments
Problem 26. Determine if input is odd
Solution 481437 Submitted 15 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.
21Size
0 Comments
Problem 1659. Fahrenheit to Celsius using multiple statements
Solution 481428 Submitted 15 hours and 56 minutes ago by Francisco
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 2187. Generalized Fibonacci
Solution 481413 Submitted 16 hours and 50 minutes ago by Binbin Qi
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 109. Check if sorted
Solution 481412 Submitted 16 hours and 56 minutes ago by Sharon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 109. Check if sorted
Solution 481411 Submitted 16 hours and 57 minutes ago by Sharon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 481393 Submitted 18 hours and 15 minutes ago by Gavin Kane
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 481392 Submitted 18 hours and 20 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 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 481391 Submitted 18 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 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 481390 Submitted 18 hours and 22 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 2476. Max Change in Consecutive Elements
Solution 481353 Submitted 19 hours and 29 minutes ago by Jon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 2476. Max Change in Consecutive Elements
Solution 481348 Submitted 19 hours and 40 minutes ago by Jon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 1289. Evaluating continued fractions
Solution 481337 Submitted 20 hours and 4 minutes ago by Tim
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 497. Make an awesome ramp for a tiny motorcycle stuntman
Solution 481334 Submitted 20 hours and 26 minutes ago by Z
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.