IRIS Toolbox Reference Manual

pct

Percent rate of change

Syntax

X = pct(X)
X = pct(X,K,...)

Input arguments

Output arguments

Options

Description

Example

In this example, x is a monthly time series. The following command computes the annualised rate of change between month t and t-1:

pct(x,-1,'outputfreq=',1)

while the following line computes the annualised rate of change between month t and t-3:

pct(x,-3,'outputFreq=',1)