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
 Need help with parameters initialization code

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
chmonster Posted - 05/03/2013 : 09:08:13 AM
Origin Ver.: 8 SR4
Operating System: Windows 7

Hi all.
I'm newbie to the Origin and have a problem with writing User-Defined Fit Function. So I will by very happy, if somebody can help me with that.

I have an experimental data - fluorescence spectrum, which I want to fit with polynomial function like that:

y = a*(poly 1) + b*(poly2) + c*(poly3);
This function contains 3 polynomial of 5th power and 3 parameters. It's suppose, that after fitting I must obtain values of these parameters, so I can know what contribution have each of three polynomial to my spectrum.

And there is a condition, that a+b+c=1

I can fit my data with such a function, but parameters values don't converge with conditions (i.e a+b+c>1)

How can I include these equation (a+b+c=1) to my function??

Please help..

(P.S. i'm sorry, if such subject has already been discussed, but I can't find answer using forum search yet)
4   L A T E S T    R E P L I E S    (Newest First)
chmonster Posted - 05/06/2013 : 04:17:10 AM
Many Thanks!
ZanHUNG Posted - 05/06/2013 : 04:00:55 AM
You can enable general linear constraints when defining a fitting function in Fitting Function Organizer.
chmonster Posted - 05/04/2013 : 04:38:42 AM
Solve the second question, find "update" button://
Please, help with the first one
chmonster Posted - 05/03/2013 : 5:25:04 PM
And one more question:

When I fit data on my graph, I obtain a fitting results table right on my graph, containing some parameters. (I think that is what called "Output report")
If I have several datasheets on my graph, so after fitting there are NOT several tables with results, but just one, with parameters changing after each fit operation.

What I want - that I have as much result tables on my graph, as many times I've done fitting operation (i.e. 3 datasheets on graph - 3 times make fitting - 3 fitting result tables on graph)

Does somebody know, how to solve that problem?
Thanks
And sorry for my bad english

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