Line regression for multiple waves

eshawver
Posts: 5
Joined: 2011-06-14
Location: United States

Hi,

I am pretty new to Igor and I'm trying to do a linear regression but I can only find how to do it for one trace at a time. My graph has about 15 traces and I am looking to get one line through all of them. Is there a command for this?

Thanks,
Lain


Igor's picture
Posts: 338
Joined: 2007-06-29
Location: United States

Hello Lain,

There is more than one way to skin this particular cat. One approach is to use StatsLinearRegression. You can find out more about the operation by executing:

DisplayHelpTopic "StatsLinearRegression"

I hope this helps,

A.G.
WaveMetrics, Inc.


Back to top