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
 biiiiig user-defined function - problems
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

colonelboris

Switzerland
Posts

Posted - 03/12/2008 :  1:15:55 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (6.0 / 6.1):
Operating System: Windows XP

Hi all,

I've had a look through the forum and couldn't find an answer easily (or at all), so I hope you don't mind me asking in case this has come up before.
I've got a user-defined function that is, frankly, huge. As such my copy of Origin 6.0 simply disappears and won't work again until I manually delete the fdf file responsible. The copy of 6.1 we have in the office doesn't fare any better, either. So far, we've failed to find a program that can deal with the equation, but we know that it has been done in the past (by a program from 1967 on a PC from 1989, no less...).
Any ideas on how to feed big equations in so the program doesn't die?
We've got a visiting academic coming in from a long way away on Monday and I was hoping to have the data fitted by then...
any help would be gratefully appreciated.
Many thanks,

Tony (Colonel Boris)

easwar

USA
1965 Posts

Posted - 03/12/2008 :  1:39:24 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Tony,

Try changing the Form drop-down to Y-Script if it is set as Equation currently.

In versions Origin 7.0 and higher, there is Origin C support to define fitting functions and that will not have the kind of limitations you face in 6.x. You could download the version 8.0 demo and try define your equation in 8.0 for now.

Easwar
OriginLab

Go to Top of Page

colonelboris

Switzerland
Posts

Posted - 03/12/2008 :  4:02:06 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Easwar,

I can't remember the last time I used an equation that would work under the 'equations' setting...
Now the question is, can I learn how to reformat it in Origin C (the existence of which I only discovered today and as yet I have no idea about) in the time the trial version of Origin 8 lasts for...?
Cheers,

Tony


magnetism = √all evil
Go to Top of Page

larry_lan

China
Posts

Posted - 03/12/2008 :  11:13:20 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Tony:

May be the Fitting movies from here can help?

Thanks
Larry
OriginLab Technical Services
Go to Top of Page

colonelboris

Switzerland
Posts

Posted - 03/13/2008 :  10:10:23 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Well, if it's any help, the equation has 110 terms on each side of the division line which are like this:

(180*exp(-((4*-j1/x)+(3*-j2/x))))

so there's the sum of 110 of these chaps on the top, 110 on the bottom and a term at the beginning to multiply it all onto scale. Only three parameters.
As you can imagine, it's rather a long equation and i think this is where the problem is.
Even taking out the -j1/x and -j2/x terms and replacing them with a and b in the y-script format causes the program to blink out of existence.
Can OriginC help with this?




magnetism = √all evil
Go to Top of Page

colonelboris

Switzerland
Posts

Posted - 03/27/2008 :  07:38:24 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
OK, so I downloaded the trial version of Origin 8.0.
However, it won't let me select the function I've written and will only let me use the functions that are pre-loaded into the program. In addition, the 'help' files try to open the Chemdraw help files.
Any suggestions?

magnetism = √all evil

Edited by - colonelboris on 03/27/2008 07:39:32 AM
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