The Origin Forum
File Exchange
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 how to writa a programe for user define function
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic


2 Posts

Posted - 03/29/2012 :  05:59:14 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin):
Operating System:

I am working on magnetic materials & I want to fit Curie-Weiss Function (Y=C/(T-To)) [in which Y- represent magnetic susceptibility, C- material specific curie constant, T- absolute temperature (in kelvin), To- curie temperature (in kelvin)] in to my data. I have try a lot to generate a user define function for this but not gating success.
If anyone knows about how to create this user-defined function in originpro 8, please help me out in this. I am having a really tough-time regarding this.
Thank you.

Hideo Fujii

993 Posts

Posted - 03/29/2012 :  11:35:34 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi aird,

I think you don't need to define a user-defined function for: 
because Origin has a built-in function Rational4 in Rational category:
In the fitting process of NLFit, you can fix the value of c (of Rational4) to 0 
(by turning ON the "Fixed" check box in the Parameter tab, and double-click 
the value, and enter 0). 

By the way, for defining a user-defined function, maybe the following 
tutorials may be helpul:



As your Origin version is 8.0, it doesn't have more convenient 
"Fitting Function Builder" (available in 8.5, or later), and 
you need to skip the section in the (Text) tutorial.

Hope this helps.

--Hideo Fujii

Edited by - Hideo Fujii on 03/29/2012 12:34:48 PM
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 © 2008 Originlab Corporation Go To Top Of Page
Snitz Forums 2000