Financial Instruments Toolbox Date convention
Show older comments
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 Comment
dpb
on 31 Jul 2013
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., ...
Answers (0)
Categories
Find more on Time Series Objects in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!