The arrays price_A, price_B, and price_C given below contain the

The arrays price_A, price_B, and price_C given below contain the price in dollars of three stocks over 10 days.

a. Use MATLAB to determine how many days the price of stock A was above both the price of stock B and the price of stock C.

b. Use MATLAB to determine how many days the price of stock A was above either the price of stock B or the price of stock C.

c. Use MATLAB to determine how many days the price of stock A was above either the price of stock B or the price of stock C, but not both.

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

price_B = [22, 17, 20, 19, 24, 18, 16, 25, 28, 27]

price_C = [17, 13, 22, 23, 19, 17, 20, 21, 24, 28]

 

Leave a Comment

Your email address will not be published. Required fields are marked *

GradeEssays.com
We are GradeEssays.com, the best college essay writing service. We offer educational and research assistance to assist our customers in managing their academic work. At GradeEssays.com, we promise quality and 100% original essays written from scratch.
Contact Us

Enjoy 24/7 customer support for any queries or concerns you have.

Phone: +1 213 3772458

Email: support@gradeessays.com

© 2024 - GradeEssays.com. All rights reserved.

WE HAVE A GIFT FOR YOU!

15% OFF 🎁

Get 15% OFF on your order with us

Scroll to Top