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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Automatically deleting certain value in matrix
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

wz1416scripps

USA
24 Posts

Posted - 03/11/2015 :  7:41:36 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

cpyang

USA
1406 Posts

Posted - 03/11/2015 :  11:26:39 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

wz1416scripps

USA
24 Posts

Posted - 03/11/2015 :  11:35:20 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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


Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000