Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
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.