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
 Linear Fit part of a curve !
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

billaravi

USA
14 Posts

Posted - 06/13/2005 :  11:05:08 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (7.0):
Operating System:WINXPPRO

Hi
I am trying to do linear fit only a part of a curve instead of the whole of it. How can i do this in origin C.

thanks
ravi

Mike Buess

USA
3037 Posts

Posted - 06/13/2005 :  12:24:35 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi ravi,

Have you tried this yet?

crv.SetLowerBound(lowerIndex);
crv.SetUpperBound(upperIndex);

...If your using the fitpoly function you can also constrain the fit to a seqment of the curve.

Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 06/13/2005 12:41:11 PM
Go to Top of Page

cpyang

USA
1406 Posts

Posted - 06/13/2005 :  10:18:26 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You can find example here,

http://www.originlab.com/forum/topic.asp?TOPIC_ID=2784



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