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
karvek
Posted - 04/06/2016 : 04:04:47 AM Hi all,
I am fitting some datasets with a user-defined function. I have something of the kind: f = Ax + By + Cz. A, B and C must be in the interval [-1,1] that I can set in the parameters bounds.
However I would like to use as a general linear constraint something like abs(A) + abs(B) + abs(C) = 1.
If I don't use the absolute value it works quite well but of course the sum is messed up by possible negative negative values of the parameters.
Anyone has an idea on how to implement this? The function is written in Origin C.
Origin 9.1 (64-bit) Sr2 Operating System: Windows 7
1 L A T E S T R E P L I E S (Newest First)
SeanMao
Posted - 04/06/2016 : 04:21:44 AM Hi,
Can you send me a copy of your data and the fitting function FDF file to tech@originlab.com so that I can have a try on my side to see the problem?