Pre-Engineering 220 Introduction to MatLab ® & Scientific Programming j kiefer


Least Squares Fit to Non-polynomial Function



Download 8.69 Mb.
Page83/128
Date02.05.2018
Size8.69 Mb.
#47255
1   ...   79   80   81   82   83   84   85   86   ...   128

3. Least Squares Fit to Non-polynomial Function

The process is similar when fitting to a function that is not a polynomial. For instance, say that



.

W


xi

fi

.24

0.23

.65

-0.26

.95

-1.10

1.24

-0.45

1.73

0.27

2.01

0.10

2.23

-0.29

2.52

0.24

2.77

0.56

2.99

1.00



e wish to fit this function to the data shown at right. In this case, N = 10 and g = 3. The adjustable parameters are a, b and c.




Download 8.69 Mb.

Share with your friends:
1   ...   79   80   81   82   83   84   85   86   ...   128




The database is protected by copyright ©ininet.org 2024
send message

    Main page