Quantcast
Channel: MATLAB Central Newsreader Recent Posts
Viewing all articles
Browse latest Browse all 19628

Re: Financial toolbox assumes dates are sorted?

$
0
0
If you look at the constructor
>> edit fints/fints
you'll see that it sorts the dates when the object is constructed.

Also, looking at the methods, for instance,
>> edit fints/plus
you'll see that fints of the latest version are assumed to be sorted (as they will be sorted by the constructor) and that fints of older versions get sorted.

You are right in that the documentation for the constructor doesn't explicitly say that a sort takes place (except for fints with duplicate dates -- in a note near the end of the help).

Phil.

Viewing all articles
Browse latest Browse all 19628

Trending Articles