MathGroup Archive 2001

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

Search the Archive

Re: matrix


"Su Su Win" <susuwin at post.kek.jp> wrote in message
news:9bb759$92p at smc.vnet.net...
> Hello,
>
> How can I make a matrix (4000x1220) with zeros except that all the values
at
> 216th to 220th rows are ones.

Here is the basic idea (scaled down):

Table[If[y > 3 && y < 7,1,0],{y,1,16},{x,1,16}]//MatrixForm

--
Paul Lutus
www.arachnoid.com





  • Prev by Date: Re: matrix
  • Next by Date: Re: Mapping a scalar against a list
  • Previous by thread: Re: matrix
  • Next by thread: Re: matrix