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
 interpolation of XYXY
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Linda Xu

1 Posts

Posted - 11/22/2019 :  07:12:11 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I have XYXY data with 221 sets of XY, how to interpolate each Y on its corresponding X value.
I have tried:

minterp2 im:=MBook1 method:=bicubic cols:=nx rows:=ny xmin:=-400 xmax:=400 rows:=500

and

range rin = Book1;
int nx, ny;
nx = rin.ncols * 221;
ny = rin.nrows * 221;
minterp2 method:=bicubic cols:=nx rows:=ny ;

both did not work.
Thank you in advance!

YimingChen

1669 Posts

Posted - 11/22/2019 :  10:12:53 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Not very sure which interpolation you are trying to perform with LabTalk script. X-function minterp2 you used is for 2D interpolation which is for matrix. Please refer to the following page for more details:
https://www.originlab.com/doc/LabTalk/guide/Interpolation

Thank you
James
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