Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Task 2 (Stock prices, functions) My Solutions > Write a function called stockAnalyzer, which has one input argument: an array containing stock price data (time
Task 2 (Stock prices, functions) My Solutions > Write a function called stockAnalyzer, which has one input argument: an array containing stock price data (time stamp, opening price, maximal price, minimal price, closing price, trade volume) output arguments 1) indices of days when opening price was equal to closing price 2) indices of days when the opening price was higher than the closing price 3) indices of days when the opening price was lower than the clowing price 4) indices of days representing 100 days with highest trading volume 5) indices of days representing 100 days with lowest trading volume For the last two points you may consider making use of Matlab's function sort. Task 2 (Stock prices, functions) My Solutions > Write a function called stockAnalyzer, which has one input argument: an array containing stock price data (time stamp, opening price, maximal price, minimal price, closing price, trade volume) output arguments 1) indices of days when opening price was equal to closing price 2) indices of days when the opening price was higher than the closing price 3) indices of days when the opening price was lower than the clowing price 4) indices of days representing 100 days with highest trading volume 5) indices of days representing 100 days with lowest trading volume For the last two points you may consider making use of Matlab's function sort
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started