Problem with NonlinearModelFit
- To: mathgroup at smc.vnet.net
- Subject: [mg128732] Problem with NonlinearModelFit
- From: "Ludwig Greil" <Ludwig.Greil at physik.uni-regensburg.de>
- Date: Wed, 21 Nov 2012 19:50:15 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-newout@smc.vnet.net
- Delivered-to: mathgroup-newsend@smc.vnet.net
Hello everyone, I have this problem fitting the Real part of a function that at some point develops an imaginary part. My dataset is real-valued, and i try fitting Re[f] and afterwards generating the MeanPredictionBands. The fitting of the function goes fine, but as soon as i try to create the MeanPredictionBands, i get the following error: Experimental`NumericalFunction::nnum: The function [...] is not a number at {fitparameters}. Then I tried a normal function that is real-valued everywhere, and tried fitting Re[f] and then create the MeanPredictionBands and again, the same error appears. The question I have is basically: Is there a way to do what i want to do? Thank you all for your help, Ludwig Greil