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
 Origin Forum
 Modified Bessel function in nonlinear curve 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

tratto2

USA
1 Posts

Posted - 10/04/2001 :  9:52:05 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Anyone know how to include a modified bessel function in a user defined nonlinear curve fit function?

Thanks,

Tim

easwar

USA
1965 Posts

Posted - 10/05/2001 :  5:55:08 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Tim,

You can use any of the Bessel functions documented under the special functions category (in the LabTalk manual or from the product help files) such as J0(x), J1(x), Jn(x), Y0(x) etc.

You can use these function in writing your user-defined fitting equation. For instance, your fitting function may be something like:
y = a*x + b*Jn(x,2);
which would describe a 2nd order Bessel function riding on a straight line of slope a.

With the functions Jn and Yn, you may get better results by fixing the order in the fitting function and not letting this be a fitting parameter.

If you need more help, please send an e-mail to tech support.

Easwar
OriginLab.

Edited by - easwar on 10/05/2001 17:55:44
Go to Top of Page

Coolshark

Denmark
Posts

Posted - 03/19/2007 :  1:48:06 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
A MODIFIED bessel function is not J or Y, so
How do you fit to a modified bessel function??

It is either a K or I... I really need these functions so if anyone has an answer please mail me!

\Martin


Edited by - Coolshark on 03/19/2007 1:48:42 PM
Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 03/19/2007 :  2:00:15 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
If you have Origin 7 or higher you can use the NAG libraries which contain several modified Bessel functions.

Origin C Language Reference > Global Functions > NAG Functions > NAG - Approximations of Special Functions

Mike Buess
Origin WebRing Member
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