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
 NLSF and origin C.
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

ram42

UK
Posts

Posted - 03/25/2004 :  10:41:44 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Further to my original question (pasted below). I have used the user defind fitting functions, however you are limited to a finite number of characters doing this. All of the examples in the help files and multimedia support are either simple functions, or small functions. The function I require to insert is of the form:

const*Summation(S*(S+1)*exp(E(S))/summation(S*exp(E(S))

where the summation is over S and E(S) (a function of S) which are listed in a worksheet separate to the main one (ie the one which we are trying to fit data with).

How to tackle this problem is not at all obvious with the helpfiles/instruction manuals/etc.

Cheers
Richard

Original Problem:
I am trying to learn how to use origin C to define my functions for use in the NLSF. I cannot find an example of one to use, are there any? The code I want to write is to fit a very large summation which calls information from another sheet within my origin project.

Laurie

USA
404 Posts

Posted - 03/28/2004 :  10:04:17 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Richard,

I'm not sure that you're exceeding the character limitation in the function definition text box. Please click here to read more about this limit.

Please look at this post, Sum in fit function, for help on how to use a summation.

Hope this helps,
Laurie



OriginLab Technical Support
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