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
 All Forums
 Origin Forum
 Origin Forum
 Column A (100 rows) subtract column b(50 rows)

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
bbb208 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.
1   L A T E S T    R E P L I E S    (Newest First)
snowli 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

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000