Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

As I understand the input to the NormFunction is a list of residuals. Is there a way to get parameter values into the NormFunction as well? I ran into a problem where the norm depends on the values of parameters that are being fitted.

share|improve this question
1  
Can you provide a minimal example of what you are trying to accomplish? –  bobthechemist Feb 4 at 18:23
    
The "More information"-part in the documentation makes me think no –  Coolwater Feb 4 at 20:50
    
@bobthechemist: oi57.tinypic.com/zity5y.jpg this is the norm I should be using, the A_i values are the parameters findfit is searching for. I tried solving it with NMinimize but with as many parameters as I need it always gets stuck in a local minima, where FindFit appears to be working much much better. –  vuce Feb 5 at 11:54
    
@Coolwater: I'm afraid so, but since there is no information on what actually is passed to the function with the slot symbol I'm not counting it out yet. –  vuce Feb 5 at 12:14

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.