T O P I C R E V I E W |
ulfhinze |
Posted - 06/29/2005 : 03:27:30 AM Hi,
I need to multiply two graphs (datasets), which do not have the same increment in the x-axis. How can that be done in Origin?
Example: Worksheet 1: X1; Y1 1; 1 2; 4 3; 9 4; 16 5; 25
Worksheet 2: X2; Y2 1.0; 5 1.6; 4 2.2; 3 2.8; 4 3.4; 5 4.0; 6 4.6; 5 5.2; 4
How can I multiply these graphs and get x -> y1(x)*y2(x)
Using a simple linear interpolation for the example above the result would be: X; Y1*Y2 1; 5 2; 13.3 3; 39 4; 96 5; 108.3
Somehow I have to rescale the worksheets to the same x-increment and multiply the interpolated y-data then. But how can that rescaling be done in Origin?
Origin Version: 6.1 Operating System: W2k
Regards, ulf |
2 L A T E S T R E P L I E S (Newest First) |
Mike Buess |
Posted - 06/29/2005 : 12:04:01 PM Hi Ulf,
Analysis > Simple Math interpolates automatically. It overwrites the first dataset so make a copy if you need it.
Mike Buess Origin WebRing Member |
ulfhinze |
Posted - 06/29/2005 : 05:28:22 AM Hi,
I just solved the problem myself:
1. Plot the dataset as a graph. 2. Use Analysis/Interpolate to create an interpolated graph with an appropriate stepsize. 3. Use the dataset generated for this graph.
That's it. It's just in the wrong menu...
Regards, Ulf
|