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

MathGroup Archive 2001

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

Search the Archive

Re: diagonal matrix

  • To: mathgroup at smc.vnet.net
  • Subject: [mg29106] Re: [mg29095] diagonal matrix
  • From: "Su Su Win" <susuwin at post.kek.jp>
  • Date: Wed, 30 May 2001 05:50:22 -0400 (EDT)
  • Organization: KEKB
  • References: <669FA9B69E2BD211A6E300104B55C4A2017EF83B@EXCHANGE>
  • Sender: owner-wri-mathgroup at wolfram.com

Dear Stefan,

It works well.
Thank you very much.
Regards,

Win

----- Original Message ----- 
From: <Stefan.Schenderlein at ferring.de>
To: mathgroup at smc.vnet.net
Subject: [mg29106] AW: [mg29095] diagonal matrix


Win, try this:

n=1153;

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

Stefan




  • Prev by Date: Re: diagonal matrix
  • Next by Date: AW: diagonal matrix
  • Previous by thread: Re: diagonal matrix
  • Next by thread: Re: diagonal matrix