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 for Programming
 LabTalk Forum
 algorithm for finding minimum difference

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
hofmannt Posted - 03/26/2012 : 12:12:08 PM
Origin Ver. and Service Release (Select Help-->About Origin): 8 SR4
Operating System: Windows 7 Professional 64-bit

Here's what I'm trying to do:
I have a spectrum X that is a superposition of three individual spectra A, B, C. I'm trying to find the fractions a,b,c that minimize X-a*A-b*B-c*C. What would be the best way to program this?
The spectra share the same x-Axis and the y-axis values are normalized, i.e. 0 to 1.

Thanks!
1   L A T E S T    R E P L I E S    (Newest First)
Sam Fang Posted - 03/28/2012 : 03:58:43 AM
You can select Analysis: Fitting: Multiple Linear Regression from Origin menu. And choose Fix Intercept in the Fit Options branch.

Sam
OriginLab Technical Services

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