how to solve a integral when the parameters are matrix

1 visualización (últimos 30 días)
Yingxu Wang
Yingxu Wang el 9 de Ag. de 2013
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..

Respuestas (1)

Mike Hosea
Mike Hosea el 9 de Ag. de 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)

Categorías

Más información sobre Operating on Diagonal Matrices en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by