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
 Extract data from a 1024*1024 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
polimeros42 Posted - 12/05/2005 : 12:12:34 PM
Origin Version (Select Help-->About Origin): 6.0
Operating System:windows
Hello,
I have a 1024*1024 matrix and I need to delete the data= 0.
I have tried to go to Matrix, set values and enter the expresion:(Cell(i,j) == 0) ? NANUM : Cell(i, j)but it does not work, all data are cut.
I would greatly appreciate your help
Thank you
Rebeca


2   L A T E S T    R E P L I E S    (Newest First)
polimeros42 Posted - 12/05/2005 : 1:15:24 PM
thank you Mike, that works!!
Rebeca
Mike Buess Posted - 12/05/2005 : 12:32:11 PM
Hi Rebecca,

You don't need to use the Set Values dialog. If the matrix is Matrix1 just enter the following command in the script window...

Matrix1 = Matrix1==0 ? NANUM : Matrix1;

Mike Buess
Origin WebRing Member

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