Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2001
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*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 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
>
>
>
>




  • 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