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

MathGroup Archive 2012

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

Search the Archive

Re: MatrixPower problem

  • To: mathgroup at smc.vnet.net
  • Subject: [mg124406] Re: MatrixPower problem
  • From: per at RQNNE.invalid (Per Rønne)
  • Date: Wed, 18 Jan 2012 06:04:43 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <jejkc5$b40$1@smc.vnet.net>
  • Reply-to: spam at RQNNE.dk (Per Rønne)

Dana DeLouis <dana2010 at me.com> wrote:

> > P = {{0, 1/2, 0, 1/2, 0}, {1/2, 0, 1/3, 0, 0},
>         {0, 1/2, 0, 1/2, 0}, {1/2, 0, 1/3, 0, 0}, {0, 0, 1/3, 0, 1}}
>  //MatrixForm
>
>
> Hi.  Just to give another option...
>
> // Have each output use Matrix Form
>
> $Post = MatrixForm
>
> // Then...
>
> =
> P={{0,1/2,0,1/2,0},{1/2,0,1/3,0,0},
>    {0,1/2,0,1/2,0},{1/2,0,1/3,0,0},{0,0,1/3,0,1}}
>
> << Output using MatrixForm >>
>
> // Now, turn it off:
>
> $Post =.
>
> e1={1,0,0,0,0};
>
> Limit[MatrixPower[P,k].e1,k->\[Infinity]]
> {0,0,0,0,1}

Yes - and even without the drawbacks of turning the variables into
MatrixForm format.
--
Per Erik R=F8nne
http://www.RQNNE.dk
Errare humanum est, sed in errore perseverare turpe



  • Prev by Date: How to set up Intel C++ Composer XE for Mathematica on windows 7?
  • Next by Date: Re: Is there any efficient easy way to compare two lists with the same length with Mathematica?
  • Previous by thread: Re: MatrixPower problem
  • Next by thread: Re: MatrixPower problem