Converting to quarterly time from xls
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have a excel(xls) data in which the first column is time variable (quarterly from 1978q1 to 2011q1).
How can I bring this into matlab and use the same format. (I will plot against other merged data.)
Help me! (I searched 'toquarterly' but its explaination is too short to fully understand. Any good explaination might be helpful!)
0 comentarios
Respuesta aceptada
Oleg Komarov
el 23 de Mzo. de 2011
[data, text] = xlsread(filename,...);
EDIT
To convert cellstrings dates of the format yyyyq# into numeric representation, use:
datenum(text(:,1),'yyyyQQ')
0 comentarios
Más respuestas (0)
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!