this is a question that came in final exam
fit the data in this given curve
how to fit any given data in this curve......can any one tell me how to start this question(here you can assume any set of values that we want to fiti tried but not able to solve the question
fit the following data using least sqare methos technique
X=1 2 3 4 5
Y=3 8 15 28 46
where A,B,c,d are constants.......this time our university has setted most toughest quesion paper on numerical analysis....this is one of them a question
see the above link. i hope it will be useful....otherwise tell me explain more
i think your problem is noy least square....least squre method is to fit data into a polynomial....you are looking for exponential curve fitting...you can google it and find more information
My guess is that perhaps you cannot "assume any set of values that we want to fit".
For example if there are 4 or fewer points to fit to then it is possible to get an exact match. If there are more points then it will be an approximation (except for in special cases).
There may be some clues in that data that you have missed such as the value for y(0) or y'(0), zero crossings or turning points.
I suggest posting the data from the original question.
Assuming the multiplication is implied, and you have a data set for , and the assumption is that , then you want to set up your least squares parameter as follows:
Then you set
, and solve for A, B, c, and d.
This basic idea is how all least squares fits work.