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