MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

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-


  • Prev by Date: Re: eyeofra_ifs.gif (GIF Image, 1044x1044 pixels) - Scaled (87%)
  • Next by Date: Re: 3D plot with orthographic projection
  • Previous by thread: Re: Jens-Peer Kuska passed away
  • Next by thread: Re: put some elements to zero