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
 NLSF

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
pegor Posted - 06/16/2005 : 12:00:57 PM
Origin Version (Select Help-->About Origin): 7.5 SR4
Operating System: win xp

Hi all,
when i fit a curve with NLSF and i want to paste the parameters back in a worksheet, and lets say that my first parameter in the fitting function is "A", i write:
A=NLSF.P1;
and then i put A in the worksheet.
does anybody know how can i do the same for the chi^2/DoF ?
i tried:
chi=NLSF.Chi2^2/DoF;
but this didnt work.

Thanks in advance
Pegor
2   L A T E S T    R E P L I E S    (Newest First)
easwar Posted - 06/16/2005 : 2:30:05 PM
quote:

when i fit a curve with NLSF and i want to paste the parameters back in a worksheet,


Hi Pegor,

If you are just interested in getting all fitting results into a worksheet, you can use the NLSF tool itself to do this - just go to the Action->Results menu of the NLSF tool and click on the Parameters button. That will generate a worksheet with all the information relevant to the fit. You must first fit and make sure the fitting has converged etc using the Fit page of the tool and then go to this results page and click this button.

Easwar
OriginLab

P.S. You can programmatically create such a worksheet using the paramkWks() method of the nlsf object - look under the documentation for nlsf object in the LabTalk language reference file.



Edited by - easwar on 06/16/2005 2:59:15 PM
Mike Buess Posted - 06/16/2005 : 12:08:24 PM
chi=NLSF.chisqr;

Mike Buess
Origin WebRing Member

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