## NSEGMENT

### NAME

nsegment - segment coefficient data into N stationary regions
### SYNOPSIS

**nsegment**
(-i item) (-n numseg) (-c) file
### DESCRIPTION

*nsegment*
uses a dynamic programming procedure to determine the location of N-1 boundaries
in time of a coefficient item, such that if each region was replaced by its mean,
the squared distortion error would be at a minimum. The algorithm is taken from
Bridle & Sedgwick, ICASSP 1977.
*Options*
and their meanings are:

**-I**
Identify program and version.

**-i** *item*
Select input item numbers.

**-n** *numseg*
Specify the number of segments to divide the item into. Default 2.

**-c**
Output the result as a coefficient item. Default output an annotation item.

### INPUT ITEMS

*11.xx*
Any coefficient data.

### OUTPUT ITEMS

*AN*
N-1 boundary locations.

*CO*
(optional) reconstructed segmented mean spectra.

### VERSION/AUTHOR

1.0 - Mark Huckvale
### SEE ALSO

npoint

_{Fri Jul 09 14:54:43 2004
}