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
 Forum for Origin C
 Code for fitting multiple datasets

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
peter.cook Posted - 05/23/2005 : 2:05:16 PM
Origin Version (Select Help-->About Origin): 7.5 Sr5
Operating System: Win 2000

Hi,

I'm writing an app to fit upto 15 dose response datasets to the four parameter logistic with the option of sharing a parameter (curve top).

I'd appreciate help with a few questions, thanks.

i) What is the limit on the number of datasets and parameters you can use?

ii) How best to set up constraints for each parameter. 2 scenarios could be the midpoint for all datasets has the same constraints or they are all potentially different.

iii) I really like LabTalk's substitution eg
loop(NumSet,1,15) {
nlsf.fitdata$(NumSet)=Data_Resp$(NumSet);
}

V short!

Can this be done in a similar way with C or do I spell them all out?
In this case the user will want to select any number from 1-15 sets.

Cheers,

pete


1   L A T E S T    R E P L I E S    (Newest First)
peter.cook Posted - 05/24/2005 : 08:30:37 AM
Hi,

I forgot code I've already been using eg
using that provided by Scott for multiple linear fits as in
http://www.originlab.com/forum/topic.asp?TOPIC_ID=3879
eg
	for(int ii = 1; ii <= nPlots; ii++)
{
nlsf.FitData$(ii)$ = vecYNames[ii - 1];
}


I guess my question should have been : Is this form substitution limited to LabTalk objects?

Cheers,

Pete


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