BrokenStickRegression
by Peter Nave
13 Nov 2010
(Updated 04 Sep 2011)
A line consisting of connected straight sections is fitted to a cloud of data points.
|
Watch this File
|
| File Information |
| Description |
A line of connected straight sections is fitted to a 2D-cloud of data points. The sections are described by the coordinates of their endpoints. No toolbox required. |
| MATLAB release |
MATLAB 7.6 (R2008a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 15 Nov 2010 |
Code shortened by ca. 20%. |
| 02 Dec 2010 |
Two bugs detected by Carlos Romero fixed (thanks!). Initial trial breakpoints can now be specified. More error checks provided. |
| 05 Dec 2010 |
Typographical errors corrected |
| 04 Sep 2011 |
Improved checks on input; allows a single abscissa point as starting breakpoint. |
| 04 Sep 2011 |
Further simplifications of the algorithm. |
|
Contact us at files@mathworks.com