Author |
Topic |
|
bbb208
USA
6 Posts |
Posted - 06/03/2015 : 3:48:17 PM
|
Dear all,
I have an issue concerning the subtraction of two columns with different lengths.
Say, column A with 100 rows, column B with 50 rows, since B is the back ground signal of A, I need to take B out of A, does anyone know how to do this?
My friend gave me a command, but I don't know what that means, I could not find it from labtalk manual.
%H_D -- O %H_B
Here, D and B are the column labels. |
|
snowli
USA
1381 Posts |
Posted - 06/03/2015 : 5:35:14 PM
|
Is there corresponding X values to the column A and B?
If you just want to do row-wise subtraction, you can add a new column C. Then right click column C and choose Set Column Values.
Enter col(A)-col(B) so that column C will be filled with the row-wise subtraction.
If you corresponding X data (since you said different length), you could choose Analysis: Mathematics: Simple Curve Math. http://www.originlab.com/doc/Origin-Help/Math-SimpleColumnCurveMath
Also if you want to do peak analysis, you could choose Analysis: Peaks and Baseline: Peak Analyzer. On first page, choose the Goal: Subtract baseline. One of the option is subtract baseline which is an an existing data. http://www.originlab.com/doc/Origin-Help/SubtractBaseline-PA
Thanks, Snow
|
|
|
|
Topic |
|
|
|