The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 Using constraints in nonlinear fitting

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Viktoriaa Posted - 03/02/2021 : 12:02:34 PM
Hi everyone,

I would like to fit a curve with 4 Gausses. The width of Gauss1 and Gauss 2 should be the same, while those of Gauss3 and Gauss4 are independent.



How can I set up the constrain that three width values w1 w3 and w4 are to be fitted and w1=w2.

Under constraints option I got syntax error message.

Thank you in advance
2   L A T E S T    R E P L I E S    (Newest First)
Viktoriaa Posted - 03/03/2021 : 01:10:02 AM
Thank you very much for your reply. The error was that I wrote "w_2" instead of "w__2". Now the fitting works as I would like to :-)
YimingChen Posted - 03/02/2021 : 3:03:06 PM
If you use Nonlinear Curve Fit tool, you can set the linear constraint as show blow. Make sure check the box to enable the constraints.


James

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000