Description Usage Arguments Value Examples
Determines the optimal points in a signal to split so as to minimize cost.
1 | DYNPROG(signal, max.segs)
|
signal |
The sequence of values to split |
max.segs |
The maximum number of segments the sequence should be split into |
A list which contains the following elements is returned: cost: A max.segs by signal length matrix where the element at position [i,j] is the optimal cost for splitting the signal, up to index j, into i segments. change: A max.segs by max.segs triangular matrix where the element in position [i,j] is the index of the jth optimal changepoint when splitting the whole signal into i segments.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.