Author |
Topic  |
|
mozartic
USA
Posts |
Posted - 01/31/2007 : 11:06:04 AM
|
Origin Version (Select Help-->About Origin): Operating System:windows 2000
I'm sure this is a very trivial question, I hope nobody is upset by it, and if its been previously asked I appologize.
I'm trying to fit my first curve on origin and the forumula is extremely long and complicated. Is there any option that tells where the missing parenthesis would preferably be or somthing of that nature? Many thanks.
-Mark
Edited by - mozartic on 02/12/2007 3:47:49 PM |
|
zachary_origin
China
Posts |
Posted - 01/31/2007 : 9:35:08 PM
|
Yes, this also annoys me a lot.
My solution is to edit it in Code Builder as you can use "Ctrl+]" go to the matching brace. Click Edit in Code Builder button in the function edit page (Function: New) if you are using OriginC. Otherwise, if you are using expressions or equations, you can edit it in Code Builder and the copy it to the function equation edit box.
Another little tips is to add spaces before and after operators. For example, I am used to write the gauss function like: y=y0 + (A/(w*sqrt(PI/2))) * exp(-2*((x-xc)/w)^2). This works a little better for me.
Zachary OriginLab Technical Services.
 |
 |
|
larry_lan
China
Posts |
Posted - 02/01/2007 : 01:53:56 AM
|
I think you can also edit the equation in Excel first, you will see different color of parenthesis. 
Larry OriginLab Technical Services |
 |
|
hauli
Austria
Posts |
Posted - 02/01/2007 : 02:45:54 AM
|
Another option for long equations is to split up the equation:
e.g.
A = ((exp(2x)-a+(13-x))*0,25x) B = 0,56 -((100-x*(exp(3x))-13))
and then define it like
y = A / B
hauli
Edited by - hauli on 02/01/2007 09:09:51 AM |
 |
|
tomblue
Germany
22 Posts |
Posted - 02/01/2007 : 08:44:16 AM
|
Hi All!
I use the technic to open AND close the parenthesis first, then going back and insert the expression. Is a bit strange and it will probably take some time to get used to it, but when someone is familiar with it I think it helps a lot. For me, I it the best so far. Of course you have to know where to put the parenthesis first.
Best regards Tom |
 |
|
|
Topic  |
|