Grocer Function

NAME

trend - exponentiated time trend

CALLING SEQUENCE

[xmat]=trend(p,nobs)

PARAMETERS

Input

Output

DESCRIPTION

Produces a vector equal to a time-trend with exponentiation p.

EXAMPLE

ext=trend(2,10)

This example gives the matrix:
!   1.   !
!   4.   !
!   9.   !
!   16.  !
!   25.  !
!   36.  !
!   49.  !
!   64.  !
!   81.  !
!   100. !

AUTHOR

Eric Dubois 2002