A customer recently asked how to reproduce the results of the MATLAB polyfit function in NMath. This is easily done using NMath in C#.
MATLAB NMath
Standard package CenterSpace.NMath.Analysis
polyfit( x, y, degree ) PolynomialLeastSquares( degree, x, y )
Notes: polynomial coefficients are returned in the reverse order.
For example, here's some MATLAB code for fittin...
Read More
Read More