MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Search 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

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

14Size

0 Comments

Problem 42. Find the alphabetic word product

11Size

0 Comments

Problem 627. Compute a dot product of two vectors x and y

11Size

0 Comments

Problem 645. Getting the indices from a vector

8Size

0 Comments

Problem 358. Who knows the last digit of pi?

8Size

0 Comments

Problem 3015. Sum all integers from 1 to 5^n

10Size

0 Comments

Problem 544. Create a square matrix of multiples

25Size

0 Comments

Problem 15. Find the longest sequence of 1's in a binary sequence.

151Size

0 Comments

Problem 1881. GJam 2013 China Event: Happy Teams

11Size

0 Comments

Problem 135. inner product of two vectors

25Size

0 Comments

Problem 121. surface of a spherical planet

35Size

0 Comments

Problem 975. Gauss Eliminate 2-by-2 example

18Size

0 Comments

Problem 349. Back to basics 6 - Column Vector

11Size

0 Comments

Problem 195. Program an exclusive OR operation with logical operators

165Size

0 Comments

Problem 1883. GJam 2013 China Event: Happy Teams 100 Pairs

18Size

0 Comments

Problem 148. Factorize THIS, buddy

165Size

0 Comments

17Size

0 Comments

Problem 27. Pangrams!

10Size

0 Comments

Problem 1664. Lightning strike distance: Writing a function

20Size

0 Comments

Problem 2021. Is this triangle right-angled?

Incorrect

0 Comments

Problem 2023. Is this triangle right-angled?

Incorrect

0 Comments

Incorrect

0 Comments

11Size

0 Comments

Problem 2015. Length of the hypotenuse

11Size

0 Comments

Problem 2020. Area of an Isoceles Triangle

10Size

0 Comments

Problem 2016. Area of an equilateral triangle

44Size

0 Comments

21Size

0 Comments

Problem 2019. Dimensions of a rectangle

10Size

0 Comments

Problem 2017. Side of an equilateral triangle

10Size

0 Comments

Problem 2018. Side of a rhombus

7Size

0 Comments

Problem 914. Number of Horns on a unicorn!

75Size

0 Comments

Problem 2024. Triangle sequence

74Size

0 Comments

Problem 2022. Find a Pythagorean triple

36Size

0 Comments

Problem 73. Replace NaNs with the number that appears to its left in the row.

11Size

0 Comments

Problem 619. Multiply a column by a row

10Size

0 Comments

Problem 411. Back to basics 21 - Matrix replicating

10Size

0 Comments

Problem 459. Sum of diagonal of a square matrix

10Size

0 Comments

Problem 716. Arrange vector in ascending order

10Size

0 Comments

Problem 1046. Add two numbers

10Size

0 Comments

Problem 719. Rotate a Matrix by 90 degrees

10Size

0 Comments

Problem 351. Back to basics 8 - Matrix Diagonals

42Size

0 Comments

Problem 163. Love triangles

42Size

0 Comments

10Size

0 Comments

Problem 760. Duplicate each element of a vector.

7Size

0 Comments

Problem 1774. Free passes for everyone!

10Size

0 Comments

Problem 300. Remove NaN ?

10Size

0 Comments

Problem 605. Whether the input is vector?

10Size

0 Comments

Problem 129. All capital?

16Size

0 Comments

Problem 13. Remove all the consonants