Extract data month wise

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 comentarios

dpb
dpb el 7 de Jun. de 2019
findgroups
Sana Ejaz
Sana Ejaz el 10 de Jun. de 2019
Hey Thanks
That really was helpful

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Preguntada:

el 7 de Jun. de 2019

Comentada:

el 10 de Jun. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by