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
 Fitting
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

mozartic

USA
Posts

Posted - 01/31/2007 :  11:06:04 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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.

Go to Top of Page

larry_lan

China
Posts

Posted - 02/01/2007 :  01:53:56 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I think you can also edit the equation in Excel first, you will see different color of parenthesis.

Larry
OriginLab Technical Services
Go to Top of Page

hauli

Austria
Posts

Posted - 02/01/2007 :  02:45:54 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

tomblue

Germany
22 Posts

Posted - 02/01/2007 :  08:44:16 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
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