Get Help

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Community
- :
- PTC Mathcad
- :
- PTC Mathcad
- :
- Performing a Weighted Fit in PTC Mathcad

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

06-10-2013
10:25 AM

06-10-2013
10:25 AM

Performing a Weighted Fit in PTC Mathcad

By Mathcad Staff

**Least Squares Error**

**About this worksheet:**

- Performs a weighted fit on a set of sample data by using the Least Squares Error method
- Applicable in academics and across all industries
- Performs sum of squares error function, least squares error, fitting function, and weighting function

This worksheet using PTC Mathcad shows you how to fit a set of sample data by using the Least Squares Error (LSE) method to minimize the sum of squares error function normalized by a weighting function.

This worksheet shows you how to create a sample data set and add some noise using the "rnd" function. By doing this you can create an unweighted fitting function. You can then define a weighted function which is used in the sum of squares error function, SS. You can use the "minimize" function to fit the unknown parameters and to minimize the SS error function.

Step by step notation, all sample data and solutions, and formulas and equations are provided as an example to aid you in solving.

*Download and explore this worksheet yourself! You can download a free lifetime copy of PTC Mathcad Express and get 30 days of full functionality.*

Labels:

Top Tags