Re: matrix equation
- To: mathgroup at smc.vnet.net
- Subject: [mg101578] Re: matrix equation
- From: Haibo Min <yshdfeng at gmail.com>
- Date: Fri, 10 Jul 2009 06:47:56 -0400 (EDT)
- References: <h2fe6u$ptv$1@smc.vnet.net> <4A54B377.4030000@metrohm.com>
Daniel, thank you for your suggestion! Best regards, Haibo On Wed, Jul 8, 2009 at 10:55 PM, dh <dh at metrohm.com> wrote: > > 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. >> >> >> > >