MathGroup Archive 2001

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

Search the Archive

AW: diagonal matrix


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