{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Lecture10b

# Lecture10b - 0306-381 Applied Programming Numerical...

This preview shows pages 1–8. Sign up to view the full content.

0306-381 Applied Programming ü Numerical Integration F Least Squares Curve Fitting

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Curve Fitting 16 Process of analyzing data in an attempt to find a formulaic expression for the output as a function of input • Function f ( x ) to approximate value of y for a given value of x • Typically off-line process • ( x , f ( x )) for input/output relationship: ( x , y )
Curve Fitting Example 17 Design of digital display for relative humidity • Display: percentage scale from 0% to 100% • Problem: sensor is nonlinear • Sensor: outputs voltage, which is proportional to ambient humidity

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Curve Fitting Goal 18 What is goal for function to approximate data? • Accuracy • Produce minimum error
Linear Approximation 19 Find a straight line that passes through a set of data points y = x - 6.3333 0 5 10 15 20 25 10 15 20 25 30 Y X Data Points (Y vs. X) Y

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Linear Least-Squares Approximation 20 Minimize error using least squares method: y » f ( x ) f ( x ) = ax + b ( ) ° - = i i i y x f Error 2 ) ( f ( x ) minimizes total squared error
Linear Approximation:

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern