Here is an example of fitting a quadratic polynomial to a dataset:

https://www.gnu.org/software/gsl/doc/html/lls.html#multi-parameter-linear-regression-example

You should be able to adapt it to a 3rd order polynomial.


On 04/28/2017 07:00 AM, Sumit Adhikari wrote:
> Hello All,
>
> I am not a mathematician!
>
> I have Input vs Output Data for an unknown system. I want to find out the
> coefficient of a third order polynomial which fits the data.
>
> Anybody please help me where to start using gsl?
>
> Thanks in advance.
>


Reply via email to