Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi tried generating the polynomial equation using excel sheet. It is very accurate and gives me exact polynomial equation. Is there any C# code to generate the polynomial equation for the given datapoints which gives the exact polynomial equation similar to the equation generated in excel. Please help me out to solve this problem.

Regards ,
Priya
Posted
Updated 21-Jan-15 18:23pm
v2
Comments
Sergey Alexandrovich Kryukov 22-Jan-15 2:19am    
The answer depends on 1) what kind of polynomials do you want to consider (powers, Chebyshev's, what?), 2) do you want to create a polynomial fitting the points exactly, or, considering the points as approximate values (with noise), optimize approximate fit?
—SA
Member 11393116 22-Jan-15 3:02am    
thanks for the reply Sergey.i dono exactly what kind of polynomial is needed. but i need to find the equation for the datapoints which are the points of the curve.

1 solution

This is one of the libraries you may want to use: https://numerical.codeplex.com[^].

Please see my comment to the question. First of all, you need to decide for yourself, what kind of mathematical problem should be solved.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900