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
 Column and data filter

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
19102208 Posted - 04/21/2005 : 05:41:20 AM
Origin Version (Select Help-->About Origin): 6
Operating System:

Is there any option for filtering data, for example
2 5
3 6
2 7

than filtering the column 1 with the data "2" and get the resulut
2 5
2 7

Thanks for help.
3   L A T E S T    R E P L I E S    (Newest First)
Mike Buess Posted - 04/21/2005 : 11:26:03 AM
>How to extract the first n rows data from AB to CD, and the rest (N-n) rows data to EF

This is how to do it in LabTalk...

copy -b 1 col(A) col(C) -b 1 -e n; // copy 1st n rows from A to C
copy -b 1 col(B) col(D) -b 1 -e n; // copy 1st n rows from B to D
n1=n+1;
n2=N-n;
copy -b n1 col(A) col(E) -b 1 -e n2; // copy last N-n rows from A to E
copy -b n1 col(B) col(F) -b 1 -e n2; // copy last N-n rows from B to F

Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 04/21/2005 12:10:08 PM

Edited by - Mike Buess on 04/21/2005 1:21:39 PM
Younger2008 Posted - 04/21/2005 : 10:54:56 AM
But sometimes I want to extract the certain amount of the data to new columns in the same worksheet, how to do this?
For example, a worksheet with A,B,C,D,E,F 6 columns. The first two columns A and B were stored N rows original data. How to extract the first n rows data from AB to CD, and the rest (N-n) rows data to EF, and something like this.

Thanks.
Mike Buess Posted - 04/21/2005 : 07:26:36 AM
1. Choose Analysis > Extract Worksheet Data
2. Enter this condition... col(1)[i]==2
3. Click "Do it"

Mike Buess
Origin WebRing Member

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