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
 Origin Forum
 Column A (100 rows) subtract column b(50 rows)
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

bbb208

USA
6 Posts

Posted - 06/03/2015 :  3:48:17 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
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