how to solve a integral when the parameters are matrix

1 visualizzazione (ultimi 30 giorni)
I gor a equation to sove, but there two parameters are matrix, and the rest are integer. I want to keep all the letters untill the end, so that I can define the letters as numbers.
the equation is
x(t1) = e^(A*(t1-t0))*int(e^(A*(t1-t))*B*(-2*M/(p*s)*(t-t0)+2*M), dt )
here, A and B are matrix, t1, t0, M, p, s are known number. I want to solve this with a new equation.
Thank you so much..

Risposte (1)

Mike Hosea
Mike Hosea il 9 Ago 2013
I don't get the final assignment to x(t1) of what I presume to be a matrix result. Also, I am not certain whether e^A means exp(A) (elementwise) or expm(A) (matrix exponential). I will assume the latter. Perhaps something like this?
expm(A*(t1-t0))*integral(@(t)expm(A*(t1-t))*B*(-2*M/(p*s)*(t-t0)+2*M),t0,t1,'ArrayValued',true)

Categorie

Scopri di più su Operating on Diagonal Matrices in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by