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.

19Size
0 Comments
Problem 32. Most nonzero elements in row
Solution 481382 Submitted 10 minutes ago by Hassan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 32. Most nonzero elements in row
Solution 481381 Submitted 12 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 233. Reverse the vector
Solution 481380 Submitted 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.
18Size
0 Comments
Problem 6. Select every other element of a vector
Solution 481379 Submitted 16 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.
13Size
0 Comments
Problem 26. Determine if input is odd
Solution 481378 Submitted 17 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 26. Determine if input is odd
Solution 481377 Submitted 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 481376 Submitted 18 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 26. Determine if input is odd
Solution 481375 Submitted 18 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.
16Size
0 Comments
Problem 26. Determine if input is odd
Solution 481374 Submitted 19 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.
13Size
0 Comments
Problem 8. Add two numbers
Solution 481373 Submitted 20 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.
12Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 481372 Submitted 21 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 25. Remove any row in which a NaN appears
Solution 481371 Submitted 23 minutes ago
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 481370 Submitted 23 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.
12Size
0 Comments
Problem 1. Times 2 - START HERE
Solution 481369 Submitted 24 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 25. Remove any row in which a NaN appears
Solution 481368 Submitted 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 25. Remove any row in which a NaN appears
Solution 481367 Submitted 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 25. Remove any row in which a NaN appears
Solution 481366 Submitted 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 25. Remove any row in which a NaN appears
Solution 481364 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 25. Remove any row in which a NaN appears
Solution 481363 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 25. Remove any row in which a NaN appears
Solution 481362 Submitted 35 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
32Size
0 Comments
Problem 14. Find the numeric mean of the prime numbers in a matrix.
Solution 481361 Submitted 37 minutes ago by Hassan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
51Size
0 Comments
Problem 108. Given an unsigned integer x, find the largest y by rearranging the bits in x
Solution 481360 Submitted 39 minutes ago by Georges
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
53Size
0 Comments
Problem 108. Given an unsigned integer x, find the largest y by rearranging the bits in x
Solution 481359 Submitted 39 minutes ago by Georges
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
212Size
0 Comments
Problem 114. Check to see if a Sudoku Puzzle is Solved
Solution 481358 Submitted 40 minutes ago by Peter
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
53Size
0 Comments
Problem 108. Given an unsigned integer x, find the largest y by rearranging the bits in x
Solution 481357 Submitted 40 minutes ago by Georges
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
32Size
0 Comments
Problem 14. Find the numeric mean of the prime numbers in a matrix.
Solution 481356 Submitted 41 minutes ago by Hassan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
51Size
0 Comments
Problem 108. Given an unsigned integer x, find the largest y by rearranging the bits in x
Solution 481355 Submitted 42 minutes ago by Georges
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 108. Given an unsigned integer x, find the largest y by rearranging the bits in x
Solution 481354 Submitted 43 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 of Array
Solution 481353 Submitted 47 minutes ago by Jon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
33Size
0 Comments
Problem 129. All capital?
Solution 481352 Submitted 49 minutes ago by Georges
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 129. All capital?
Solution 481351 Submitted 53 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 129. All capital?
Solution 481350 Submitted 54 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 114. Check to see if a Sudoku Puzzle is Solved
Solution 481349 Submitted 57 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 2476. Max change in consecutive elements of Array
Solution 481348 Submitted 57 minutes ago by Jon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 129. All capital?
Solution 481347 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.
16Size
0 Comments
Problem 649. Return the first and last character of a string
Solution 481346 Submitted 1 hour and 2 minutes ago by Georges
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 121. surface of a spherical planet
Solution 481345 Submitted 1 hour and 3 minutes ago by Georges
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
60Size
0 Comments
Problem 164. Right and wrong
Solution 481344 Submitted 1 hour and 6 minutes ago by Georges
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 349. Back to basics 6 - Column Vector
Solution 481343 Submitted 1 hour and 8 minutes ago by Georges
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
174Size
0 Comments
Problem 2409. Find the Connecting Path
Solution 481342 Submitted 1 hour and 16 minutes ago by Georges
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2409. Find the Connecting Path
Solution 481341 Submitted 1 hour 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 1289. Evaluating continued fractions
Solution 481337 Submitted 1 hour and 21 minutes ago by Tim
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2409. Find the Connecting Path
Solution 481336 Submitted 1 hour and 33 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 497. Make an awesome ramp for a tiny motorcycle stuntman
Solution 481334 Submitted 1 hour and 43 minutes ago by Z
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
34Size
0 Comments
Problem 141. Solve the Sudoku Row
Solution 481333 Submitted 1 hour and 52 minutes ago by Georges
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 114. Check to see if a Sudoku Puzzle is Solved
Solution 481332 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.
10Size
0 Comments
Problem 459. Sum of diagonal of a square matrix
Solution 481331 Submitted 2 hours and 5 minutes ago by Georges
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
34Size
0 Comments
Problem 148. Factorize THIS, buddy
Solution 481330 Submitted 2 hours and 6 minutes ago by Georges
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 148. Factorize THIS, buddy
Solution 481329 Submitted 2 hours and 7 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 6. Select every other element of a vector
Solution 481328 Submitted 2 hours and 15 minutes ago by Peter
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.