Description Usage Arguments Value
Subroutine to determine the Linear SEGMENTS for a PREDEFINED NUMBER OF SEGMENTS (NR) (Use this program when you want to predefine the number of segments you want to fit to the data) Segments the data in x,y into the intervals given in the output array A. The data in each interval can be linearly fitted within an error, given by r2b(), less than eps.
1 | s_mN(nr, x, y)
|
nr |
[integer] number of segments, fixed. |
x |
[real] input x-axis array, should be an increasing function of index |
y |
[real] input y-axis array |
[list(eps=eps,ni=ni)] where: eps [real] is the maximum error over all intervals, ni is a [vector of integer, length nr+1] vector Ni of indices giving data segments Ni[i] start of interval; Ni[i+1] end of interval, for any i<length(Ni)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.