MathGroup Archive 2001

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

Search the Archive

Re: matrix


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
>
>
>
>




  • Prev by Date: RE: Flip a rule
  • Next by Date: make directory command for W2K?
  • Previous by thread: Re: matrix
  • Next by thread: Re: matrix