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.

10Size
0 Comments
Problem 123. Tell me the slope
Solution 674367 Submitted 12 hours and 40 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 2713. Circle area using pi
Solution 674366 Submitted 12 hours and 41 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 42. Find the alphabetic word product
Solution 674365 Submitted 12 hours and 42 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
11Size
0 Comments
Problem 627. Compute a dot product of two vectors x and y
Solution 674364 Submitted 12 hours and 42 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
11Size
0 Comments
Problem 645. Getting the indices from a vector
Solution 674363 Submitted 12 hours and 59 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
8Size
0 Comments
Problem 358. Who knows the last digit of pi?
Solution 674362 Submitted 13 hours and 1 minute ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
8Size
0 Comments
Problem 3015. Sum all integers from 1 to 5^n
Solution 674361 Submitted 13 hours and 1 minute ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 544. Create a square matrix of multiples
Solution 674360 Submitted 13 hours and 2 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 15. Find the longest sequence of 1's in a binary sequence.
Solution 674359 Submitted 13 hours and 3 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
151Size
0 Comments
Problem 1881. GJam 2013 China Event: Happy Teams
Solution 674358 Submitted 13 hours and 3 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.
11Size
0 Comments
Problem 135. inner product of two vectors
Solution 674357 Submitted 13 hours and 4 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 121. surface of a spherical planet
Solution 674356 Submitted 13 hours and 4 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
35Size
0 Comments
Problem 975. Gauss Eliminate 2-by-2 example
Solution 674355 Submitted 13 hours and 5 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 349. Back to basics 6 - Column Vector
Solution 674354 Submitted 13 hours and 6 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
11Size
0 Comments
Problem 195. Program an exclusive OR operation with logical operators
Solution 674353 Submitted 13 hours and 7 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
165Size
0 Comments
Problem 1883. GJam 2013 China Event: Happy Teams 100 Pairs
Solution 674352 Submitted 13 hours and 7 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.
18Size
0 Comments
Problem 148. Factorize THIS, buddy
Solution 674351 Submitted 13 hours and 8 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
165Size
0 Comments
Problem 1881. GJam 2013 China Event: Happy Teams
Solution 674350 Submitted 13 hours and 8 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.
17Size
0 Comments
Problem 27. Pangrams!
Solution 674349 Submitted 13 hours and 8 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 1664. Lightning strike distance: Writing a function
Solution 674348 Submitted 13 hours and 9 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2021. Is this triangle right-angled?
Solution 674347 Submitted 13 hours and 10 minutes ago by Andrea Ramirez
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 674346 Submitted 13 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 2023. Is this triangle right-angled?
Solution 674345 Submitted 13 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 2023. Is this triangle right-angled?
Solution 674344 Submitted 13 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.
11Size
0 Comments
Problem 2015. Length of the hypotenuse
Solution 674343 Submitted 13 hours and 13 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
11Size
0 Comments
Problem 2020. Area of an Isoceles Triangle
Solution 674342 Submitted 13 hours and 14 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 2016. Area of an equilateral triangle
Solution 674341 Submitted 13 hours and 15 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
44Size
0 Comments
Problem 2021. Is this triangle right-angled?
Solution 674340 Submitted 13 hours and 15 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 2019. Dimensions of a rectangle
Solution 674339 Submitted 13 hours and 18 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 2017. Side of an equilateral triangle
Solution 674338 Submitted 13 hours and 19 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 2018. Side of a rhombus
Solution 674337 Submitted 13 hours and 20 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
7Size
0 Comments
Problem 914. Number of Horns on a unicorn!
Solution 674336 Submitted 13 hours and 21 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
75Size
0 Comments
Problem 2024. Triangle sequence
Solution 674335 Submitted 13 hours and 22 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
74Size
0 Comments
Problem 2022. Find a Pythagorean triple
Solution 674334 Submitted 13 hours and 22 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
36Size
0 Comments
Problem 73. Replace NaNs with the number that appears to its left in the row.
Solution 674333 Submitted 13 hours and 23 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
11Size
0 Comments
Problem 619. Multiply a column by a row
Solution 674332 Submitted 13 hours and 24 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 411. Back to basics 21 - Matrix replicating
Solution 674331 Submitted 13 hours and 26 minutes ago by Andrea Ramirez
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 674330 Submitted 13 hours and 27 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 716. Arrange vector in ascending order
Solution 674329 Submitted 13 hours and 28 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 1046. Add two numbers
Solution 674328 Submitted 13 hours and 29 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 719. Rotate a Matrix by 90 degrees
Solution 674327 Submitted 13 hours and 30 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 351. Back to basics 8 - Matrix Diagonals
Solution 674326 Submitted 13 hours and 31 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
42Size
0 Comments
Problem 163. Love triangles
Solution 674325 Submitted 13 hours and 31 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
42Size
0 Comments
Problem 163. Love triangles
Solution 674324 Submitted 13 hours and 35 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 760. Duplicate each element of a vector.
Solution 674323 Submitted 13 hours and 38 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
7Size
0 Comments
Problem 1774. Free passes for everyone!
Solution 674322 Submitted 13 hours and 40 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 300. Remove NaN ?
Solution 674321 Submitted 13 hours and 42 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 605. Whether the input is vector?
Solution 674320 Submitted 13 hours and 44 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 129. All capital?
Solution 674319 Submitted 13 hours and 46 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 13. Remove all the consonants
Solution 674318 Submitted 13 hours and 57 minutes ago by Andrea Ramirez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.