![]() |
| If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|||||||
| Tags: curve, fitting, least, parabolic, squares |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I have found a neat solution to my problem, but only for 2d curve fitting.
It is titled, least square curve fitting with confidences. The equation of the parabolic fit version is as following:- y = b0 + b1*z + b2*(z^2) where b0, b1, and b2 are calculated from the least squares solution of the following matrix set up. | s0 , sz , szz | | b0 | | sy | | sz , szz , szzz | | b1 | = | szy | | szz , szzz , szzzz | | b2 | | szzy | where s0 = Sum between i = 1 and n of pi sy = Sum between i = 1 and n of (yi * pi) sz = Sum between i = 1 and n of (zi * pi) szz = Sum between i = 1 and n of ( zi * zi * pi) pi is a confidence constant. I now need to expand is idea to 3d, I have been told it is possible, but not how to do it. Any idea folks? Adam |
| Ads |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| "Fitting physics and teenage girls" | Mike | Physics - General Discussion | 37 | August 18th 03 09:58 PM |