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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 Forum for Origin C
 fit parameters
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

hydrix

Posts

Posted - 01/18/2007 :  11:51:28 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
hi everyone,
i´ve got a problem with getting back the errors of the fit parameters after performing a nlsf. My code for getting the parameters looks like this,
LT_get_var("A1", &a);
LT_get_var("y0", &b);
LT_get_var("t1", &c);

and it works fine.
But: What do i have to type instead of "A1" in the first line to get the fit error of A1?
Thanks for your help!

Dominik Paulkowski

Germany
Posts

Posted - 01/18/2007 :  12:03:11 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi hydrix!

You can get the error of the first parameter of a fitting procedure by:


double dblErrorFirstParameter = NLSF.e1;


I don't know, if you are still using that feature, but you can use

using NLSF = LabTalk.NLSF;

to easier access the LabTalk commands like

NLSF.xBegin

and so on...

-------------------
:-Dipl.-Phys. Dominik Paulkowski
Fraunhofer Institute for Surface Engineering and Thin Films (IST)
Braunschweig
Germany
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000