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
 LabTalk Forum
 Linear Curve 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

hardcontro

USA
2 Posts

Posted - 03/19/2003 :  12:35:04 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hello!

Hope somebody can help me!

what I wanna do: I have a couple of curves, where I wanna do some linear curve fitting. The fitting always should happen between the x-values 0,025 and 0,050. How can I tell my script to do a linear curve fitting between those two x-values and then give the result (B)...??

thanks for U're help!
Klaus

rlewis

Canada
253 Posts

Posted - 03/20/2003 :  11:54:04 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Try this ..
Assuming that you are working on your active plotted dataset %C

StartRange=0.025;
EndRange=0.050;
mks1=xindex(StartRange,%C);
mks2=xindex(EndRange,%C);
doc -uw;

There should now be markers delimiting the range x=0.025 and x=0.050 and your fitting would be restricted to that range..
Go to Top of Page

hardcontro

USA
2 Posts

Posted - 03/20/2003 :  1:19:41 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
THX a lot!
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