Extract data month wise

1 次查看(过去 30 天)
Sana Ejaz
Sana Ejaz 2019-6-7
评论: Sana Ejaz 2019-6-10
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 .

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Financial Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by