Financial Instruments Toolbox Date convention
Afficher commentaires plus anciens
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 commentaire
dpb
le 31 Juil 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., ...
Réponses (0)
Catégories
En savoir plus sur Time Series Objects dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!