Hello, I'm using the Piecewise Linear Function in origin to fit my data, which should contain 9 segments. According to the method from originlab http://www.originlab.com/doc/Tutorials/Fitting-Piecewise-Linear, I change my codes, the codes can be compiled, but when I use it to fit my data, just get 2 segments. Here paste my codes, hope you can give me some comments or ideas. Thanks a lot.
http://www.originlab.com/doc/Tutorials/Fitting-Piecewise-Linear