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
 Origin C curve fitting
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

pegor

Germany
Posts

Posted - 02/22/2005 :  06:42:47 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 7.5 SR4
Operating System:win xp

Hi,

I am fitting a number of curves in Origin C with the following:

using NLSF = LabTalk.NLSF;
NLSF.Init();
NLSF.Func$ = "user6";
NLSF.v1 = 1;
NLSF.v2 = 1;
NLSF.v3 = 1;
NLSF.v4 = 0;
NLSF.FitData$ = crvData.GetName();
NLSF.Execute("parainit");
NLSF.Wtype = 1;
NLSF.W$ = dsErr.GetName();
NLSF.ChiSqrErr = 0;
NLSF.Fit(100);
NLSF.Fit(100);
NLSF.Fit(100);
NLSF.PasteParams("P");
NLSF.End();

In this function (user6) there are 4 parameters,the last one has to be fixed.the command to fix this last parameter is NLSF.v4 = 0;.
My question is how shall i give the value of this fixed parameter?

Thanks for your help.

Pegor.

Mike Buess

USA
3037 Posts

Posted - 02/22/2005 :  08:19:30 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Pegor,

NLSF.p4 = 0; // set value of parameter 4 to zero

Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 02/22/2005 08:20:49 AM
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