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

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]

Step by Step Solution

3.37 Rating (147 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

We have been provided with an array that contains the prices for 10 days We need to determ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Introduction Mechanical Engineering Questions!