computing finite time grammian

12 次查看(过去 30 天)
Hi When I am trying to find finite grammian I getting the following error:
-----------------------------------------------------
>>integral(f,0,1)
Matrix dimensions must agree.
Error in @(tau)expm(A.*tau)*(b*b')*expm(A'.*tau)
Error in integralCalc/iterateScalarValued (line 314)
fx = FUN(t);
Error in integralCalc/vadapt (line 132)
[q,errbnd] = iterateScalarValued(u,tinterval,pathlen);
Error in integralCalc (line 75)
[q,errbnd] = vadapt(@AtoBInvTransform,interval);
Error in integral (line 88)
Q = integralCalc(fun,a,b,opstruct);
________________________________________
My A=[-1/2 0;0 -1]
b=[1;1]
f = @(tau) expm(A.*tau)*(b*b')*expm(A'.*tau)
Thanks in advance

采纳的回答

madhan ravi
madhan ravi 2018-11-30

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrix Computations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by