How can i integrate this expression which includes matrices?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Volkan Yangin
am 2 Jul. 2021
Beantwortet: Star Strider
am 2 Jul. 2021
Hi,
I have two matrices and will use them to have discrete form of state space. For this purpose, i have to implement some of integration procedures.
My A and B matrices are [ 1 2 ; 3 4] and [ 5 ; 6] respectively. T equals to 1.
How can i find the result of this formula?
Thanks,
0 Kommentare
Akzeptierte Antwort
Star Strider
am 2 Jul. 2021
Try this —
A = [1 2; 3 4];
B = [5; 6];
B_d = integral(@(sigma)expm(A.*sigma), 0, 1, 'ArrayValued',1)*B
.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!