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
 Do an interpolation directly with LabTalk...

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
a_user Posted - 08/18/1998 : 1:17:00 PM
How can we do an interpolation directly with LabTalk.
Example:
10 5
11 6
12 7
13 8

and after interpolation

10 5
10.5 5.5
11 6
11.5 6.5
12 7
12.5 7.5
13 8

This result are obtained with Analysis/Inter/Extrapolate...
with this parameters
Make Curve Xmin = 10
Make Curve Xmax = 13
Make Curve # pts = 7

We want to do this directly with LabTalk !

Thanks in advance !
Levent

1   L A T E S T    R E P L I E S    (Newest First)
Joe Przechocki Posted - 08/18/1998 : 1:34:00 PM
Simple Interpolation of given XY pairs

If you have some XY data, and want to interpolate to find new Y values from an
array of new X values, it can be done easily.

Suppose you have

DATA1

A B

10 5
11 6
12 7
13 8

and you want

DATA2

A B

10 5
10.5 5.5
11 6
11.5 6.5
12 7
12.5 7.5
13 8

then simply construct a new X column in a new worksheet, so you now have

DATA2

A B
10
10.5
11
11.5
12
12.5
13

and type DATA2_B=DATA1_B(DATA2_A) and hit ENTER

Origin will assign new values to DATA2_B using DATA1_A's values as new X values
for Data1_B.


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