IRIS Toolbox Reference Manual

## dbrange

Find a range that encompasses the ranges of the listed tseries objects

#### Syntax

    [Range,FreqList] = dbrange(D)
    [Range,FreqList] = dbrange(D,List,...)
    [Range,FreqList] = dbrange(D,Inf,...)

#### Input arguments

- `D` [ struct ] - Input database.

- `List` [ char | cellstr | `Inf` ] - List of tseries objects that will be included in the range search; `Inf` means all tseries objects existing in the input databases will be included.

#### Output arguments

- `Range` [ numeric | cell ] - Range that encompasses the observations of the tseries objects in the input database; if tseries objects with different frequencies exist, the ranges are returned in a cell array.

- `FreqList` [ numeric ] - Vector of date frequencies coresponding to the returned ranges.

#### Options

- `'startDate='` [ `'maxRange'` | `'minRange'` ] - `'maxRange'` means the `range` will start at the earliest start date of all tseries included in the search; `'minRange'` means the `range` will start at the latest start date found.

- `'endDate='` [ `'maxRange'` | `'minRange'` ] - `'maxRange'` means the `range` will end at the latest end date of all tseries included in the search; `'minRange'` means the `range` will end at the earliest end date.

#### Description

#### Example

IRIS Toolbox. Copyright © 2007—2013 Jaromir Benes.