Re: matrix equation
- To: mathgroup at smc.vnet.net
- Subject: [mg101506] Re: matrix equation
- From: dh <dh at metrohm.com>
- Date: Thu, 9 Jul 2009 01:54:06 -0400 (EDT)
- References: <h2fe6u$ptv$1@smc.vnet.net>
Hi Haibo, here is a simpler example that shows the essentials. Daniel ================================================= f[t_] := {{t , t^2}, {t^2, 3 t}}; eq = {f[t] == a[t] .f'[t], a[0] == {{0, 0}, {0, 0}}}; y = a /. NDSolve[eq, a, {t, 0, 0.5}][[1]]; Plot[y[t], {t, 0, .5}] ================================================= Haibo Min wrote: > Hi, everyone. > Suppose T is a inversible matrix, and its elements are functions of t. > Consequently, we may denote this matrix as T[t], and its first and second > derivative is denoted as T'[t] and T''[t]. > I want to solve a equation as follows: > (A+B)T+T'==(a+b)T+2T', (A+B)T'+aBT==aT'+(ab+b)T+T''; > where a,b are known constants, and A,B is what I want to get. > How to express it in matrix form and solve it? > Thanks in advance. > >