databank.range (+databank)
Find a range that encompasses the ranges of all or selected databank time series
Syntax
[range, listFreq] = databank.range(inputDb, ...)
Input Arguments
inputDb [ struct | Dictionary ]
Input databank; can be either a struct, or a Dictionary.
Output Arguments
range [ Dater | cell ]
Range that encompasses the observations of the time series in the input database; if time series with different frequencies are contained in the
inputDbthen the ranges, one for each of the frequency, are returned in a cell array.
listFreq [ numeric ]
Vector of date frequencies coresponding to the returned ranges.
Options
SourceNames=@all [ string | Rexp | @all ]
List of time series that will be included in the range search or a regular expression that will be matched to compose the list;
@allmeans all time series objects existing in the input databases will be included.
StartDate="unbalanced" [ "unbalanced" ]
StartDate="unbalanced"means the outputrangewill start at the earliest start date among all them time series included in the search;StartDate="balanced"means therangewill start at the latest start date.
EndDate="unbalanced" [ "unbalanced" | "balanced" ]
EndDate="unbalanced"means therangewill end at the latest end date among all the time series included in the search;EndDate="balanced"means therangewill end at the earliest end date.