Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2001

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

Search the Archive

Re: matrix

  • To: mathgroup at
  • Subject: [mg28407] Re: matrix
  • From: "poupoulinou" <emilienne.alcover at>
  • Date: Mon, 16 Apr 2001 03:29:01 -0400 (EDT)
  • References: <9bb759$>
  • Sender: owner-wri-mathgroup at

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> a écrit dans le message news:
9bb759$92p at
> Hello,
> How can I make a matrix (4000x1220) with zeros except that all the values
> 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