Clear Filters
Clear Filters

Extract data month wise

1 view (last 30 days)
Sana Ejaz
Sana Ejaz on 7 Jun 2019
Commented: Sana Ejaz on 10 Jun 2019
Hi,
I have got daily stock price data for different companies that is saved in different cells in a cell array.
one cell for each company.Now some companies have started operations and trading from let suppose 15 july 1990 some from 20 Aprill 1993 so on and so forth.
I am calculating monthly returns using the daily return data.I want to extract daily reurns of entire month.How can I do this.Do we have any function in matlab using which we can extract daily data of entire month? I know about the retime function but that function just let us calculate sum, avg and product of daily values of a particular month but it wont let me extract the values as it is without performing any summ or product .
  2 Comments
dpb
dpb on 7 Jun 2019
findgroups
Sana Ejaz
Sana Ejaz on 10 Jun 2019
Hey Thanks
That really was helpful

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!