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 Comment

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., ...

Sign in to comment.

Answers (0)

Asked:

on 29 Jul 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!