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.

Incorrect

0 Comments

Problem 106. Weighted average

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

16Size

0 Comments

Problem 10. Determine whether a vector is monotonically increasing

Incorrect

0 Comments

Problem 33. Create times-tables

52Size

0 Comments

Problem 12. Fibonacci sequence

Incorrect

0 Comments

Problem 32. Most nonzero elements in row

37Size

0 Comments

38Size

0 Comments

Problem 19. Swap the first and last columns

Incorrect

0 Comments

Problem 304. Bottles of beer

Incorrect

0 Comments

13Size

0 Comments

Problem 8. Add two numbers

Incorrect

0 Comments

12Size

0 Comments

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

13Size

0 Comments

Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]

12Size

0 Comments

Problem 1. Times 2 - START HERE

397Size

0 Comments

Problem 42397. Megan's walk

16Size

0 Comments

Problem 14. Find the numeric mean of the prime numbers in a matrix.

28Size

0 Comments

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

12Size

0 Comments

Problem 233. Reverse the vector

10Size

0 Comments

Problem 2874. Cumulative product of a vector

Incorrect

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

481Size

0 Comments

Incorrect

0 Comments

Problem 262. Swap the input arguments

14Size

0 Comments

Problem 459. Sum of diagonal of a square matrix

Incorrect

0 Comments

32Size

0 Comments

574Size

0 Comments

635Size

0 Comments

13Size

0 Comments

Problem 42443. Is the light on?

Incorrect

0 Comments

28Size

0 Comments

Problem 25. Remove any row in which a NaN appears

23Size

0 Comments

Problem 30. Sort a list of complex numbers based on far they are from the origin.

Incorrect

0 Comments

46Size

0 Comments

Problem 9. Who Has the Most Change?

Incorrect

0 Comments

Incorrect

0 Comments

39Size

0 Comments

Problem 11. Back and Forth Rows

Incorrect

0 Comments

Incorrect

0 Comments

18Size

0 Comments

Problem 2714. Write an expression

21Size

0 Comments

Problem 1663. Pizza value using expression with parentheses

29Size

0 Comments

Problem 23. Finding Perfect Squares

15Size

0 Comments

Problem 2713. Circle area using pi

17Size

0 Comments

Problem 2712. Fahrenheit to Celsius using multiple statements

13Size

0 Comments

Problem 2711. Assigning a sum

18Size

0 Comments

Problem 2708. Simple equation: Annual salary

12Size

0 Comments

Problem 2705. Plus x: A first program

784Size

0 Comments

15Size

0 Comments

Problem 1661. Circle area using pi