This topic has been archived. It cannot be replied.
-
工作学习 / 求学深造 / Help Pls: where can I find some codes for "a least squares" to fit "y =ax^2+bx+C".. or some online paper. Thanks
-farmer(农夫®);
2003-3-25
(#1104981@0)
-
up.
-farmer(农夫®);
2003-3-25
(#1105259@0)
-
I am not quite sure what you meant. Do you refer to matrix computation?
-aloha(aloha);
2003-3-25
(#1105523@0)
-
Yes. I think so. matrix Inverse ? I searched google but I could not find satisfied solution.
-farmer(农夫®);
2003-3-25
(#1105531@0)
-
If so I think a textbook on matrix computation will help you most. Unfortunately I just know a little about that. Would you elaborate more details of your problem?
-aloha(aloha);
2003-3-25
(#1105549@0)
-
According to our measurement, I got N sets of data (xi,yi). I want to make a curve "y= ax^2 +bx+c " based on those data. The Q is : what is the value of (a,b,c)? N varies from time to time.
-farmer(农夫®);
2003-3-25
(#1105566@0)
-
ask any grade 10 student.
-mssg(mssg);
2003-3-25
(#1105568@0)
-
I don't have any grade 10 student nearby. Could u pls give me some clue?
-farmer(农夫®);
2003-3-25
(#1105585@0)
-
For me the easist way to solve it is to use MATLAB. There is a function for this least squre approximation. And certainly that is a bit beyond grade 10, unless a little genius. : )
-aloha(aloha);
2003-3-25
(#1105589@0)
-
Yes. We can use matlab or Labview. But I need to add those code to VB program..... Where I can get code or flow-chart?
-farmer(农夫®);
2003-3-25
(#1105609@0)
-
That is easier.The function is 'polyfit'. Use matlab help to look for this function and you will find some explanation. The source code can be located at '"\MATLAB6p1\toolbox\matlab\polyfun\polyfit.m". Hope this will be helpful.
-aloha(aloha);
2003-3-25
{223}
(#1105621@0)