Re: matrix
- To: mathgroup at smc.vnet.net
- Subject: [mg28409] Re: matrix
- From: "Paul Lutus" <nospam at nosite.com>
- Date: Mon, 16 Apr 2001 03:29:04 -0400 (EDT)
- References: <9bb759$92p@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
"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