How to find corresponding values for one cell array in another?
1 view (last 30 days)
Show older comments
Hi, I have two cell arrays, both have 688 cells with [18,1] entries. One cell array has values of stock price and the other has the dates. I want to see the minimum values of stock prices and simultaneously find the dates for those prices. I have used cellfun to find the minimum values but don't know how can I get the dates in the other cell array for which that minimum prices occurred. Help is much appreciated.
1 Comment
the cyclist
on 19 Oct 2018
Can you upload your data (or a small, representative sample) and the code you wrote to find the minimum?
Answers (0)
See Also
Categories
Find more on Time Series Objects in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!