MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayNew to MATLAB?
MATLAB Central > MATLAB Newsreader > matlab refuse to set matrix values to 0 

Subject: matlab refuse to set matrix values to 0 From: besbesmany besbesmany Date: 9 Jan, 2012 22:22:08 Message: 1 of 14 
i've matrix with values i want to set values <0 to 0 and values >1 to 1 
Subject: matlab refuse to set matrix values to 0 From: James Tursa Date: 9 Jan, 2012 23:06:08 Message: 2 of 14 
"besbesmany besbesmany" <besbesmany@yahoo.com> wrote in message <jefpag$841$1@newscl01ah.mathworks.com>... 
Subject: matlab refuse to set matrix values to 0 From: ScottB Date: 9 Jan, 2012 23:07:08 Message: 3 of 14 
"besbesmany besbesmany" <besbesmany@yahoo.com> wrote in message <jefpag$841$1@newscl01ah.mathworks.com>... 
Subject: matlab refuse to set matrix values to 0 From: besbesmany besbesmany Date: 10 Jan, 2012 09:34:09 Message: 4 of 14 
can you tell me what to do exactly 
Subject: matlab refuse to set matrix values to 0 From: Roger Stafford Date: 10 Jan, 2012 20:08:08 Message: 5 of 14 
"besbesmany besbesmany" <besbesmany@yahoo.com> wrote in message <jeh0mh$1l4$1@newscl01ah.mathworks.com>... 
Subject: matlab refuse to set matrix values to 0 From: besbesmany besbesmany Date: 11 Jan, 2012 10:49:08 Message: 6 of 14 
i found the problem as follows 
Subject: matlab refuse to set matrix values to 0 From: dpb Date: 11 Jan, 2012 13:51:58 Message: 7 of 14 
On 1/11/2012 4:49 AM, besbesmany besbesmany wrote: 
Subject: matlab refuse to set matrix values to 0 From: besbesmany besbesmany Date: 11 Jan, 2012 15:46:08 Message: 8 of 14 
is there a short code than this one 
Subject: matlab refuse to set matrix values to 0 From: dpb Date: 11 Jan, 2012 15:57:28 Message: 9 of 14 
On 1/11/2012 9:46 AM, besbesmany besbesmany wrote: 
Subject: matlab refuse to set matrix values to 0 From: besbesmany besbesmany Date: 11 Jan, 2012 16:43:08 Message: 10 of 14 
please can you give me the code 
Subject: matlab refuse to set matrix values to 0 From: dpb Date: 11 Jan, 2012 18:12:28 Message: 11 of 14 
On 1/11/2012 10:43 AM, besbesmany besbesmany wrote: 
Subject: matlab refuse to set matrix values to 0 From: Roger Stafford Date: 11 Jan, 2012 18:46:08 Message: 12 of 14 
"besbesmany besbesmany" <besbesmany@yahoo.com> wrote in message <jekas0$97h$1@newscl01ah.mathworks.com>... 
Subject: matlab refuse to set matrix values to 0 From: dpb Date: 11 Jan, 2012 18:59:17 Message: 13 of 14 
On 1/11/2012 12:46 PM, Roger Stafford wrote: 
Subject: matlab refuse to set matrix values to 0 From: besbesmany besbesmany Date: 11 Jan, 2012 21:45:09 Message: 14 of 14 
Yes Yes Yes 
No tags are associated with this thread.
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.