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
 Interpolate Multiple columns at a time
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

chandan11

India
7 Posts

Posted - 03/03/2018 :  10:19:45 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release: OriginPro 2015 Sr. 1
Operating System: Windows10 64bit

I have data
A(X1) B(Y1) C(Y1) D(Y1) E(X2)

I want to interpolate B, C, and D to X values of E. I am using interpolate to X values in origin with parameters:- Linear, extrapolate, new column. But it does the operation only for one column at a time. Is it possible to do this operation for all three of them at a time? As I have a lot of such columns to be done.

Thank you in advance.

yuki_wu

896 Posts

Posted - 03/05/2018 :  01:14:12 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

You can run the following LabTalk Script.
1. Select Window: Script Window from menu
2. Copy and paste the script below to Script Window
3. Highlight the script and click Enter key to run it
for(int ii = 2; ii <= 4; ii++ )
{
interp1 ix:=col(5) iy:=(col(1), col($(ii)));
}


Regards,
Yuki
OriginLab
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