Re: Data fitting with Mathematica 3.0
- To: mathgroup at smc.vnet.net
- Subject: [mg15486] Re: [mg15423] Data fitting with Mathematica 3.0
- From: "Sherman.Reed" <sherman.reed at worldnet.att.net>
- Date: Mon, 18 Jan 1999 04:22:28 -0500
- Sender: owner-wri-mathgroup at wolfram.com
Sergio, one solution is to use cubic splines for fitting. if you like, pick a point through which you want the function to go through, and I will do a demo for you. Sherman C. Reed sherman.reed at worldnet.att.net -----Original Message----- From: Sergio Luis dos Santos e Lucato <lucato at hrzpub.tu-darmstadt.de> To: mathgroup at smc.vnet.net Subject: [mg15486] [mg15423] Data fitting with Mathematica 3.0 >Hi, > >Does anyone know how to tell Mathematica 3 that the resulting funktion f >has to go trough a certain point? I can not change my function, since >it is a physical modell. That is the coefficients have to be found the >way, that my conditions are met even if it is not the best fit. I could >not find any options in the manual. > >un = Function[{x, n}, (1-x/c)^(n+0.5)]; f = Fit[werte, Table[un[x, n], >{n, 0, 2}], x]; > >Thanks, Sergio > >