Bug?
1 次查看(过去 30 天)
显示 更早的评论
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!!!
0 个评论
采纳的回答
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 个评论
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 Center 和 File Exchange 中查找有关 Financial Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!