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
 Origin Forum
 biiiiig user-defined function - problems

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
colonelboris Posted - 03/12/2008 : 1:15:55 PM
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)
5   L A T E S T    R E P L I E S    (Newest First)
colonelboris Posted - 03/27/2008 : 07:38:24 AM
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
colonelboris Posted - 03/13/2008 : 10:10:23 AM
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
larry_lan Posted - 03/12/2008 : 11:13:20 PM
Hi Tony:

May be the Fitting movies from here can help?

Thanks
Larry
OriginLab Technical Services
colonelboris Posted - 03/12/2008 : 4:02:06 PM
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
easwar Posted - 03/12/2008 : 1:39:24 PM
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


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