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.

26Size

0 Comments

Problem 5. Triangle Numbers

This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Incorrect

0 Comments

Incorrect

0 Comments

Problem 1663. Pizza value using expression with parentheses

21Size

0 Comments

Problem 1659. Fahrenheit to Celsius using multiple statements

28Size

0 Comments

Problem 22. Remove the vowels

Incorrect

0 Comments

24Size

0 Comments

Problem 26. Determine if input is odd

28Size

0 Comments

Problem 13. Remove all the consonants

Incorrect

0 Comments

Incorrect

0 Comments

Problem 6. Select every other element of a vector

Incorrect

0 Comments

Incorrect

0 Comments

27Size

0 Comments

Problem 794. Matrix with different incremental runs

Incorrect

0 Comments

Incorrect

0 Comments

24Size

0 Comments

Problem 2609. If-then-else

30Size

0 Comments

Problem 1927. Find nth maximum

26Size

0 Comments

Problem 3. Find the sum of all the numbers of the input vector

Incorrect

0 Comments

26Size

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

20Size

0 Comments

Problem 1974. Length of a short side

25Size

0 Comments

Problem 2020. Area of an Isoceles Triangle

Incorrect

0 Comments

21Size

0 Comments

Incorrect

0 Comments

Problem 4. Make a checkerboard matrix

29Size

0 Comments

Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN

25Size

0 Comments

Problem 459. Sum of diagonal of a square matrix

28Size

0 Comments

Problem 28. Counting Money

22Size

0 Comments

29Size

0 Comments

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

Incorrect

0 Comments

Incorrect

0 Comments

Problem 25. Remove any row in which a NaN appears

Incorrect

0 Comments

27Size

0 Comments

Problem 950. Cody Matlab Version

Incorrect

0 Comments

Problem 174. Roll the Dice!

Incorrect

0 Comments

Incorrect

0 Comments

20Size

0 Comments

Incorrect

0 Comments

Problem 963. We love vectorized solutions. Problem 1 : remove the row average.

Incorrect

0 Comments

22Size

0 Comments

Problem 157. The Hitchhiker's Guide to MATLAB

30Size

0 Comments

Problem 10. Determine whether a vector is monotonically increasing

Incorrect

0 Comments

Incorrect

0 Comments

Problem 120. radius of a spherical planet

Incorrect

0 Comments

22Size

0 Comments

Problem 44. Trimming Spaces

Incorrect

0 Comments

Problem 27. Pangrams!