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
 Automatically deleting certain value in matrix

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
wz1416scripps Posted - 03/11/2015 : 7:41:36 PM
Origin Ver. and Service Release (Select Help-->About Origin): Originpro
Operating System:Win7

Hi,

I have a large Matrix data set, I want to automatically delete Z<0.8 for this matrix data, what should I do?
Thanks,

Chao
2   L A T E S T    R E P L I E S    (Newest First)
wz1416scripps Posted - 03/11/2015 : 11:35:20 PM
It works.
Thanks for your help!

quote:
Originally posted by cpyang

Without writing labtalk code, you can use the matrix set values dialog to do so.
1. open the dialog from Matrix menu->Set Values
2. enter the following expression

cell(i, j)<0.8?NA():cell(i,j)


Basically this set all cells < 0.8 to missing values.

CP


cpyang Posted - 03/11/2015 : 11:26:39 PM
Without writing labtalk code, you can use the matrix set values dialog to do so.
1. open the dialog from Matrix menu->Set Values
2. enter the following expression

cell(i, j)<0.8?NA():cell(i,j)


Basically this set all cells < 0.8 to missing values.

CP

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