The array price given below contains the price in dollars of a certain stock over 10 days.

Question:

The array price given below contains the price in dollars of a certain stock over 10 days. Use MATLAB to determine how many days the price was above $20.

price = [19, 18, 22, 21, 25, 19, 17, 21, 27, 29]

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: