Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2001

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

Search the Archive

AW: diagonal matrix

  • To: mathgroup at smc.vnet.net
  • Subject: [mg29105] AW: [mg29095] diagonal matrix
  • From: Stefan.Schenderlein at ferring.de
  • Date: Wed, 30 May 2001 05:50:20 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Win, try this:

n=1153;

Table[Table[If[i==j,1,0],{i,n}],{j,n}]

Stefan
> -----Urspr=FCngliche Nachricht-----
> Von:	Su Su Win [SMTP:susuwin at post.kek.jp]
> Gesendet am:	Dienstag, 29. Mai 2001 08:57
> An:	mathgroup at smc.vnet.net
> Betreff:	[mg29095] diagonal matrix
>
> Hello,
> It's me again.
> How can I make diagonal matrix (1153x1153) with 1 at diagonal?
> Thank you very much in advance.
> Regards, Win
>



  • Prev by Date: Re: diagonal matrix
  • Next by Date: simplex method
  • Previous by thread: Re: 4D interpolation
  • Next by thread: simplex method