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

TobiasF

Japan
Posts

Posted - 12/21/2006 :  09:37:55 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 7.5886
Operating System: Win XP SP2

I have a 2D graph with logarithmic scaling (log10) on the x and y axis. Then I have two datasets with some x and y data (minimum 2 data pairs, maximum 4 data pairs). As next I want to create a linear fitting so that I will get a straight line in the graph. The result should be similar to the result as if I select the dataset in the graph by hand and make an “Analysis -> fit linear”. But I’m beginner and do not know which function I have to use in C. My datasets are named:

Dataset dsCx("Calc1_A);
Dataset dsCy("Calc1_B);


Thanks
Tobias

Deanna

China
Posts

Posted - 12/21/2006 :  10:32:03 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Tobias.

Would you please take a look at Using the EasyLR Class in the Programming help file? It exemplifies the use of the EasyLR class. I hope you will find it useful.

Deanna
OriginLab Technical Services
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