Bug?

조회 수: 1 (최근 30일)
Paul
Paul 2011년 8월 3일
Maybe its me being crazy but is there a bug with the financial time series object routine 'toquarterly' ?
The online documentation says
"The default quarterly days are the last business day of March, June, September, and December."
but there's no parameter value listed to change the default quarterly dates. Then, in the help documentation the 'EM' parameter is listed but changing between 1 and 12 has no effect?
for example:
tsobj = fints(dates, data);
tsobj = toquarterly(tsobj,'EM', 2);
tsobj = fts2mat(tsobj,1);
I'm sure its me since you guys behind the scenes are Matlab rock!!!

채택된 답변

Oleg Komarov
Oleg Komarov 2011년 8월 4일
R2009a Win7 32bit
No problems:
ft = fints([(now-99:now).' rand(100,1)]);
toquarterly(ft)
toquarterly(ft,'EM',1)
  댓글 수: 2
Paul
Paul 2011년 8월 4일
I was using a R2009a on Mac OS Leopard. I'm using a R2009a Win7 32bit
system now and as you say it works fine. I'll check again later.
Andreas Goser
Andreas Goser 2011년 8월 4일
Please make sure to report bugs to MathWorks. Only then, they can be fixed. Too often users think "It is an obvious bug, somebody reported it before"

댓글을 달려면 로그인하십시오.

추가 답변 (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