Financial Time Series Toolbox | ![]() ![]() |
Syntax
Arguments
tsobj |
Financial time series object |
Description
ftsver = fintsver(tsobj)
determines if tsobj
is an object from the Financial Time Series Toolbox Version 2.0 or earlier. ftsver
= 1
indicates that tsobj
is an object from Financial Time Series Toolbox Version 1.0 or 1.1. ftsver
= 2
indicates that tsobj
is an object from Version 2 of the toolbox. Version 2 objects may contain time-of-day data.
[ftsver, timedata] = fintsver(tsobj)
additionally indicates if tsobj
contains time information. timedata
= 0
indicates no time information present. timedata
= 1
indicates that time information is present.
Examples
Determine the version number and whether time information is present in the Disney stock price financial time series object:
![]() | fints | fpctkd | ![]() |