Re: Nonlinear Fittings: range / boundaries are not working :(

*To*: mathgroup at smc.vnet.net*Subject*: [mg53934] Re: [mg53898] Nonlinear Fittings: range / boundaries are not working :(*From*: Mary Beth Mulcahy <Mary.Mulcahy at colorado.edu>*Date*: Fri, 4 Feb 2005 04:12:04 -0500 (EST)*References*: <200502022310.SAA11925@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

Do you mean can you restrict the range Mathematica will allow a variable to fit to? Like if you know x should be between 1 and 5, only allow an output between 1 and 5? If so, I don't think you can do that based on earlier posts I have read. You can though have a range in your equation if it is, for example, part of a sum. So Sum[x+2, {x, 1, 5, 1}] will work in an equation that you are fitting, but you are then defining x and not fitting it. If this isn't what you mean, please post an example problem with data. mary beth Quoting "K.M.Lebecki" <LebeckiHatesSpam at ifpan.edu.pl>: > Hi all, > > > > I have a hunch that the problem is already known in this group. > > But to put it clear: > > In functions like NonlinearRegress, you can formally use the syntax > "{symbol, min, max}" - but it is not working! > > I found already few posts about it. But still no clear and > easy-to-understand solution can be found (at least I did not find it...). > > So, if somebody already solved it, and wrote a code which fixes that > behavior (*any* other reasonable solution is also welcome) - please share > it with me ;) > > > > Regards, Chris > > > > P.S. Mathematica 4.2, Windows 2000 - if anyone cares. > University of Colorado

**References**:**Nonlinear Fittings: range / boundaries are not working :(***From:*"K.M.Lebecki" <LebeckiHatesSpam@ifpan.edu.pl>