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
We have been provided with an array that contains the prices for 10 days We need to determ... View full answer
Get step-by-step solutions from verified subject matter experts
