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 189. Sum all integers from 1 to 2^n

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

12Size

0 Comments

Problem 762. Matrix which contains the values of an other matrix A at the given locations.

12Size

0 Comments

18Size

0 Comments

18Size

0 Comments

8Size

0 Comments

Problem 1225. Output any real number that is neither positive nor negative

12Size

0 Comments

Problem 589. Matrix indexing with two vectors of indices

40Size

0 Comments

Problem 2033. poll: would you like the regexp (?@cmd) functionality to be banned in Cody?

12Size

0 Comments

18Size

0 Comments

30Size

0 Comments

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

Incorrect

0 Comments

52Size

0 Comments

Problem 59. Pattern matching

39Size

0 Comments

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

14Size

0 Comments

Problem 5. Triangle Numbers

18Size

0 Comments

38Size

0 Comments

Problem 7. Column Removal

Incorrect

0 Comments

Incorrect

0 Comments

Problem 623. Rotate a Matrix

Incorrect

0 Comments

Incorrect

0 Comments

10Size

0 Comments

Problem 149. Is my wife right?

18Size

0 Comments

Problem 6. Select every other element of a vector

Incorrect

0 Comments

Incorrect

0 Comments

41Size

0 Comments

Problem 26. Determine if input is odd

Incorrect

0 Comments

Incorrect

0 Comments

23Size

0 Comments

25Size

0 Comments

13Size

0 Comments

Problem 8. Add two numbers

12Size

0 Comments

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

11Size

0 Comments

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

11Size

0 Comments

12Size

0 Comments

Problem 1. Times 2 - START HERE

13Size

0 Comments

13Size

0 Comments

11Size

0 Comments

21Size

0 Comments

Problem 1659. Fahrenheit to Celsius using multiple statements

12Size

0 Comments

Problem 1658. Simple equation: Annual salary

12Size

0 Comments

14Size

0 Comments

49Size

0 Comments

Problem 12. Fibonacci sequence

Incorrect

0 Comments

10Size

0 Comments

10Size

0 Comments

Incorrect

0 Comments

10Size

0 Comments

12Size

0 Comments

Problem 233. Reverse the vector

Incorrect

0 Comments