assigning Fit functionally
- To: mathgroup at smc.vnet.net
- Subject: [mg41324] assigning Fit functionally
- From: gong li <gongli at cutey.com>
- Date: Wed, 14 May 2003 08:18:53 -0400 (EDT)
- Organization: University of California, Los Angeles
- Sender: owner-wri-mathgroup at wolfram.com
hi i would like to do the following: processdata[fitdata_,fitfns_,fitvars_,rundata_]:=Module[{f}, f=Fit[fitdata,fitfns,fitvars] Map[f,rundata]] this is the basic idea of what i want. fitdata has 1 more column than rundatam so fit will process the fitting correctly. however, Fit's result is an expression with the symbols in fitvars hardcoded into it so its not working properly. thanks for any help -gong li