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 for Programming
LabTalk Forum
Extracting data according to variable conditions
Note:
Only the poster of this message, and the Moderator can edit the message.
Screensize:
640 x 480
800 x 600
1024 x 768
1280 x 1024
UserName:
Password:
Anti-Spam Code:
Format Mode:
Basic
Help
Prompt
Format:
Font
Andale Mono
Arial
Arial Black
Book Antiqua
Century Gothic
Comic Sans MS
Courier New
Georgia
Impact
Lucida Console
Script MT Bold
Stencil
Tahoma
Times New Roman
Trebuchet MS
Verdana
Size
1
2
3
4
5
6
Color
Black
Red
Yellow
Pink
Green
Orange
Purple
Blue
Beige
Brown
Teal
Navy
Maroon
LimeGreen
Forum:
LabTalk Forum
Subject:
Message:
* HTML is OFF
*
Forum Code
is ON
Smilies
Hello everybody, I'm completely new to the Origin Lab user forum, but I'm stuck with a problem and I'm pretty sure one of you can help me. I hava a large dataset1 with (50000 datapoints x y) were some data need to be extracted according to differnt x values. The x values for the exctraction are in another dataset2 (400 values), but not all of them needs to be used and I need the possibility to change them afterwards to see the results. I might know a logical way to achieve this, but I have no clue how to achieve this. 1st. Define constants from the dataset2 following a loop with different conditions (e.g. define every 5th datapoint as constant with name constI(ii), define every 10th datapoint as constII(ii) ...) 2nd. Extract datapoints from dataset2 y if x value is between const1(ii)+c and const2(ii)-d Does anyone knows an elegant way to achieve this? Cheers Leif Origin Ver. and Service Release (Select Help-->About Origin): OriginPro 2020 (64-bit) SR1 Operating System: Windows 10
Check here to subscribe to this topic.
The Origin Forum
© 2020 Originlab Corporation
Snitz Forums 2000