MATLAB, please!
3. The vectors below contain prices in dollars of threedifferent stocks. The prices indicate the stock value each day for10 days.
Stock1=[19 18 22 21 25 19 17 21 27 29]
Stock2=[22 17 20 19 24 18 16 25 28 27]
Stock3=[17 13 22 23 19 17 20 21 24 28]
Write a script that (use for loops and the length command):
a. Determines how many days the price of stock 1 was above theprices of both stocks 2 and 3.
b. Determines how many days the price of stock 1 was above theprices of either stocks 2 or 3.
c. Determine how many days the
PayPal Gateway not configured
PayPal Gateway not configured