put some elements to zero
- To: mathgroup at smc.vnet.net
 - Subject: [mg101438] put some elements to zero
 - From: Luigi B <L.Balzano at gmail.com>
 - Date: Tue, 7 Jul 2009 07:46:54 -0400 (EDT)
 
Dear All,
 I have a matrix with only two columns and many rows. For instance
{xi,yi}.
For those xi<x0, I would like to set yi=0.
I can only think of a very inefficient loop...
thanks
-Luigi-
- Follow-Ups:
- Re: put some elements to zero
- From: Adriano Pascoletti <adriano.pascoletti@dimi.uniud.it>
 
 - Re: put some elements to zero
- From: Tomas Garza <tgarza10@msn.com>
 
 
 - Re: put some elements to zero