Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
This function is included in the "Data Analysis Extension Pack" for Mathcad (example in the attachment):
"LeastSquaresFit [vx, vy, F, guess, conf, (Stdy), (LBUB), (Acc)] - Returns parameters and their confidence limits for the nonlinear fitting function F for the data vx and vy, for a confidence level conf, with optional standard deviations Stdy and optional lower and upper bounds on acceptable parameter values. Acc is the convergence accuracy."
Example with LeastSquaresFit in Mathcad Prime 1.0.
Viktor
If you are going to least squares fit data, do not smooth it first. It can bias the results of the fit, and will not help.
I very much doubt the LeastSquaresFit function will help either. Can you post the data?