MathGroup Archive 2005

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

Search the Archive

Re: Solving matrix equations

  • To: mathgroup at smc.vnet.net
  • Subject: [mg59486] Re: Solving matrix equations
  • From: "Nasser Abbasi" <nma at 12000.org>
  • Date: Wed, 10 Aug 2005 02:58:26 -0400 (EDT)
  • References: <dd9nas$j1h$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

 

"Ramier" <wissam2 at online.fr> wrote in message 
news:dd9nas$j1h$1 at smc.vnet.net...
>
> Hi everyone,
>
> I've got some linear equations to solve and I don't really know how 
> to
> do it
> Is it possible to solve such an equation with Mathematica :
>
> v_n=v_0.P^n
>
> where v_n and v_0 are two vectors of m-components and P is a mxm 
> matrix
> (in the problem i'm studying, m is about 100). I know v_n,v_0 and n 
> and
> i wanna get P.
>
> I would be also interested to find n, knowing P.
>
> I looked at the functions LinearSolve and LinearSolveFunction but I
> didn't really worked out the thing. And I'm not really skilled with
> Mathematica, I never used it before !
>


I have examples how to use Mathematica LinearSolve and about solving 
sets of linear equations that might be useful for you.

http://12000.org/my_notes/mma_matlab_control/index.htm

check items 34 and 50.

To raise a matrix to some power, use the function MatrixPower[], see 
entry 33 for an example.

You also should write your equation in the standard form A x =b to 
make it easier to know what you are solving for. I am assuming that 
your P^n is supposed to be A.

Nasser 



  • Prev by Date: Re: Equality question?
  • Next by Date: Re: Simple list operation
  • Previous by thread: Re: Solving matrix equations
  • Next by thread: Simple list operation