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.

15Size

0 Comments

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

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

12Size

0 Comments

32Size

0 Comments

Problem 19. Swap the first and last columns

29Size

0 Comments

Problem 4. Make a checkerboard matrix

Incorrect

0 Comments

48Size

0 Comments

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

Incorrect

0 Comments

18Size

0 Comments

Problem 167. Pizza!

41Size

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

23Size

0 Comments

14Size

0 Comments

Problem 5. Triangle Numbers

17Size

0 Comments

19Size

0 Comments

Problem 7. Column Removal

10Size

0 Comments

Problem 149. Is my wife right?

16Size

0 Comments

Problem 1210. Two-output anonymous function?

Incorrect

0 Comments

Problem 26. Determine if input is odd

16Size

0 Comments

Problem 260. Create a function handle that reverses the input arguments of another function handle

13Size

0 Comments

Problem 8. Add two numbers

17Size

0 Comments

Problem 581. Function composition

12Size

0 Comments

29Size

0 Comments

Problem 583. Implement a counter

38Size

0 Comments

Problem 60. The Goldbach Conjecture

Incorrect

0 Comments

38Size

0 Comments

22Size

0 Comments

Problem 105. How to find the position of an element in a vector without using the find function

15Size

0 Comments

14Size

0 Comments

Problem 42444. Add two hex numbers

12Size

0 Comments

Problem 42445. Converter temp 0 to 200 degree C to 4 to 20mA

12Size

0 Comments

Problem 157. The Hitchhiker's Guide to MATLAB

15Size

0 Comments

Problem 1661. Circle area using pi

12Size

0 Comments

Problem 233. Reverse the vector

12Size

0 Comments

Problem 1658. Simple equation: Annual salary

14Size

0 Comments

Problem 22. Remove the vowels

23Size

0 Comments

54Size

1 Comment

Problem 32. Most nonzero elements in row

1 Comment

Nicholas Hortance
9 hours and 41 minutes ago

Once again ive used a for loop only because it seems so much simpler. The more I do these I see how each person has a different approach to a problem which I think is very cool. Thanks for the problem!

19Size

0 Comments

Problem 106. Weighted average

Incorrect

0 Comments

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

Incorrect

0 Comments

Problem 304. Bottles of beer

Incorrect

0 Comments

13Size

0 Comments

Incorrect

0 Comments

12Size

0 Comments