How to get certain data
Show older comments
I have data of stock daily returns but I just use data of 21 days before the last trading day of a month. I already have a logical matrix of whether a date is a last trading date of a month but I dont know how to create a matrix of returns of only 21 days before it. Please help me.
Accepted Answer
More Answers (0)
Categories
Find more on Financial Toolbox 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!