Re: matrix
- To: mathgroup at smc.vnet.net
- Subject: [mg28407] Re: matrix
- From: "poupoulinou" <emilienne.alcover at wanadoo.fr>
- Date: Mon, 16 Apr 2001 03:29:01 -0400 (EDT)
- References: <9bb759$92p@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
i suggest :
m0 = Table[0,{1220}];
m1 = Table[1,{1220}];
m = Table[If[216 <= i <= 220, m1, m0],{i,1,4000}];
hoping this helps you
"Su Su Win" <susuwin at post.kek.jp> a écrit dans le 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.
> Thank you very much in advance.
> Regards, Win
>
>
>
>