Financial Instruments Toolbox Date convention
Ältere Kommentare anzeigen
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 Kommentar
dpb
am 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., ...
Antworten (0)
Kategorien
Mehr zu Time Series Objects finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!