how to solve a integral when the parameters are matrix

1 回表示 (過去 30 日間)
Yingxu Wang
Yingxu Wang 2013 年 8 月 9 日
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..

回答 (1 件)

Mike Hosea
Mike Hosea 2013 年 8 月 9 日
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)

カテゴリ

Help Center および File ExchangeOperating on Diagonal Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by