computing finite time grammian
12 views (last 30 days)
Show older comments
Srighakollapu Vali M
on 30 Nov 2018
Answered: madhan ravi
on 30 Nov 2018
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
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Matrix Computations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!