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
 Airy Function Fit
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

m37abc

1 Posts

Posted - 11/18/2014 :  09:07:16 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. 9.1 and Service Release (Select Help-->About Origin):
Operating System: Windows 7

I am trying to access the NAG file to fit an airy function. Could someone please help me with this? I have followed the example for fitting Bessel functions on the wiki page, but I am not very familiar with coding in C.

Any advice would be useful.

Thanks a lot.

jasonzhao

China
262 Posts

Posted - 11/20/2014 :  02:02:41 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello,

Would you please tell us the expression of your fitting function?


To follow the procedure of FittingWithBessel step by step is recommended:

http://www.originlab.com/doc/Tutorials/Fitting-Special-NAG

and here I provide a simple example for fitting with Airy for comparison



static NagError fail1; 
	
y=  A * (s17ahc(x,&fail1))+B;

if(fail1.code !=NE_NOERROR)
printf("%s\n",fail1.message);



for s17ahc and other Airy function, please refer to page below:
http://www.originlab.com/doc/LabTalk/ref/Approximations-of-Special-Functions-from-NAG

Best regards,
Jason Zhao
OriginLab Tech Service
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