computing finite time grammian

10 vues (au cours des 30 derniers jours)
Srighakollapu Vali M
Srighakollapu Vali M le 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

Réponse acceptée

madhan ravi
madhan ravi le 30 Nov 2018

Plus de réponses (0)

Catégories

En savoir plus sur Matrix Computations dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by