Financial Instruments Toolbox Date convention
显示 更早的评论
I am very new to ML. I wrote a small piece of code based upon an example I found in Help Documentation. I think the answer is right . However its in NumMat format and I need it in regular date a numeric value. My output look like the following. Thank you
ProbData =
1.0e+05 *
7.3581 0.0000
7.3617 0.0000
7.3654 0.0000
7.3727 0.0000
7.3800 0.0000
1 个评论
dpb
2013-7-31
What do you mean by in NumMat format and I need it in regular date a numeric value?
If there's a missing not then use datestr on the values of the first column (Matlab "datenums") to get them in a formatted string form.
ds=cellstr(ProbData(:,1));
will give you a nx1 cell array w/ each row in a cell.
See
doc datestr
for more details on formatting, etc., ...
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Time Series Objects 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!