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
 Subtracting one column from another
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

pink-lisa

UK
Posts

Posted - 05/12/2008 :  7:04:16 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (7):
Operating System:windows

I have imported 90 columns of xy.
The first column is background spectra.

Is there a way of subtracting these values from the subsequent columns in order to remove the background noise?

Thanks

Lisa

greg

USA
1379 Posts

Posted - 05/14/2008 :  12:47:00 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
This script should do the trick:

loop(ii,2,wks.ncols) {wcol(ii)-=col(1);}


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