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

Learn moreOpportunities for recent engineering grads.

Apply TodaySearch 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 6. Select every other element of a vector

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

Incorrect

0 Comments

26Size

0 Comments

Problem 10. Determine whether a vector is monotonically increasing

Incorrect

0 Comments

Incorrect

0 Comments

Problem 167. Pizza!

Incorrect

0 Comments

Problem 4. Make a checkerboard matrix

22Size

0 Comments

Problem 5. Triangle Numbers

21Size

0 Comments

Problem 1664. Lightning strike distance: Writing a function

25Size

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

26Size

0 Comments

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

Incorrect

1 Comment

Problem 4. Make a checkerboard matrix

1 Comment

Brandon Armstrong
8 hours and 59 minutes ago

I guess I don't understand what a checkerboard of n = 4 should look like. To me, it appears to be a checkerboard with a(1,1) = 1.

Incorrect

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

23Size

0 Comments

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

23Size

0 Comments

27Size

0 Comments

22Size

0 Comments

Problem 157. The Hitchhiker's Guide to MATLAB

25Size

0 Comments

Problem 26. Determine if input is odd

Incorrect

0 Comments

Incorrect

0 Comments

Problem 174. Roll the Dice!

20Size

0 Comments

Problem 189. Sum all integers from 1 to 2^n

Incorrect

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

Problem 20. Summing digits

25Size

0 Comments

22Size

0 Comments

Problem 109. Check if sorted

Incorrect

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

26Size

0 Comments

Problem 33. Create times-tables

27Size

0 Comments

Problem 128. Sorted highest to lowest?

Incorrect

0 Comments

Incorrect

0 Comments

20Size

0 Comments

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

20Size

0 Comments

22Size

0 Comments

Problem 2114. Factorial Numbers

22Size

0 Comments

Problem 1026. Solving a quadratic equation

28Size

0 Comments

28Size

0 Comments

20Size

0 Comments

Problem 1133. Go-style solver

30Size

0 Comments

Problem 1446. Minimum Distance Point to Segment

26Size

0 Comments

22Size

0 Comments

23Size

0 Comments

Problem 2017. Side of an equilateral triangle