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.

Incorrect
0 Comments
Problem 26. Determine if input is odd
Solution 915434 Submitted 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 26. Determine if input is odd
Solution 915433 Submitted 2 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 915426 Submitted 5 minutes ago by Brittany Jackson
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 26. Determine if input is odd
Solution 915418 Submitted 10 minutes ago by Derek Glass
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 915406 Submitted 19 minutes ago by Derek Glass
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 22. Remove the vowels
Solution 915405 Submitted 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 22. Remove the vowels
Solution 915404 Submitted 20 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 7. Column Removal
Solution 915390 Submitted 1 hour and 14 minutes ago by Joshua Scala
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 106. Weighted average
Solution 915377 Submitted 1 hour and 32 minutes ago by Joshua Scala
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 915373 Submitted 3 hours and 14 minutes 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 26. Determine if input is odd
Solution 915372 Submitted 3 hours and 17 minutes ago by k vinay reddy
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 915371 Submitted 3 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 3. Find the sum of all the numbers of the input vector
Solution 915367 Submitted 3 hours and 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 27. Pangrams!
Solution 915364 Submitted 3 hours and 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 27. Pangrams!
Solution 915363 Submitted 3 hours and 51 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 27. Pangrams!
Solution 915362 Submitted 3 hours and 52 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 5. Triangle Numbers
Solution 915361 Submitted 4 hours and 6 minutes ago by Bryan Lloyd
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 14. Find the numeric mean of the prime numbers in a matrix.
Solution 915350 Submitted 4 hours and 19 minutes ago by Max Cykiert
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 14. Find the numeric mean of the prime numbers in a matrix.
Solution 915345 Submitted 4 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 14. Find the numeric mean of the prime numbers in a matrix.
Solution 915343 Submitted 4 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 14. Find the numeric mean of the prime numbers in a matrix.
Solution 915340 Submitted 4 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.
21Size
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 915338 Submitted 4 hours and 27 minutes ago by Max Cykiert
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 915336 Submitted 4 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 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 915335 Submitted 4 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.
26Size
0 Comments
Problem 23. Finding Perfect Squares
Solution 915330 Submitted 4 hours and 32 minutes ago by Max Cykiert
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 23. Finding Perfect Squares
Solution 915327 Submitted 4 hours and 36 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 2023. Is this triangle right-angled?
Solution 915326 Submitted 4 hours and 41 minutes ago by Max Cykiert
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 2023. Is this triangle right-angled?
Solution 915325 Submitted 4 hours and 42 minutes ago by Max Cykiert
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2023. Is this triangle right-angled?
Solution 915324 Submitted 4 hours and 43 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 2023. Is this triangle right-angled?
Solution 915323 Submitted 4 hours and 43 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 2023. Is this triangle right-angled?
Solution 915322 Submitted 4 hours and 43 minutes 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 2020. Area of an Isoceles Triangle
Solution 915319 Submitted 4 hours and 51 minutes ago by Max Cykiert
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2020. Area of an Isoceles Triangle
Solution 915317 Submitted 4 hours and 52 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 1974. Length of a short side
Solution 915316 Submitted 4 hours and 54 minutes ago by Max Cykiert
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2015. Length of the hypotenuse
Solution 915315 Submitted 4 hours and 56 minutes ago by Max Cykiert
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 4. Make a checkerboard matrix
Solution 915308 Submitted 5 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.
24Size
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 915299 Submitted 5 hours and 50 minutes ago by matlabuser
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 915294 Submitted 5 hours and 51 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 189. Sum all integers from 1 to 2^n
Solution 915293 Submitted 5 hours and 53 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 7. Column Removal
Solution 915284 Submitted 6 hours and 1 minute ago by Attila Egri
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 7. Column Removal
Solution 915282 Submitted 6 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.
28Size
0 Comments
Problem 12. Fibonacci sequence
Solution 915251 Submitted 6 hours and 42 minutes ago by Joshua Scala
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 915244 Submitted 7 hours and 1 minute ago by Sarah Lichtman
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 915243 Submitted 7 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 10. Determine whether a vector is monotonically increasing
Solution 915197 Submitted 9 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 10. Determine whether a vector is monotonically increasing
Solution 915196 Submitted 9 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.
28Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 915187 Submitted 11 hours and 17 minutes ago by matlabuser
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 915186 Submitted 11 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.
Incorrect
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 915180 Submitted 11 hours and 51 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 6. Select every other element of a vector
Solution 915167 Submitted 12 hours and 17 minutes ago by Pavithra Ashok Kumar
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.