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
 Airy Function Fit

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
m37abc Posted - 11/18/2014 : 09:07:16 AM
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.
1   L A T E S T    R E P L I E S    (Newest First)
jasonzhao Posted - 11/20/2014 : 02:02:41 AM
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

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