nonsymmetric differential Riccati matrix equations
The resolution of the nonsymmetric differential matrix Riccati equations
%
% dY(t)/dt = AY + YB - YCY + Q (*)
% Y(t0) = Y0
%
% using backward differentiation formula method.
%
% Input: A : size matrix (n,n).
% B : size matrix (p,p).
% C : size matrix (p,n).
% D : size matrix (n,p).
% Y0 : size matrix (n,p).
% tf , t0 : temps.
% Output:
% Ytf : solution to the inslant tf of (*)
% Y : solution to (*) for t\in[t0 tf]
% t
% Author : LAKHLIFA SADEK.
% Last modification : 29/09/2019
% E-mail: lakhlifasdek@gmail.com; sadek.l@ucd.ac.ma
% ORCID : https://orcid.org/0000-0001-9780-2592
%
%
% Example
%
% t0=0, tf=1
%
% A =
% 1 2
% 3 5
%
% B =
% 2 2 1
% 2 3 2
% 2 1 1
%
% C =
% 1 4
% 1 3
% 2 3
%
% D =
% 1 5 3
% 2 6 2
%
%
% Y0 =
%
% 1 4 3
% 2 3 -1
%
% [t,Y,Ytf] = BDF_Diff_Riccati(A,B,C,D,Y0,t0,tf)
%
% Y(tf) solution
%
% Ytf =
%
% 0.0790 0.3842 1.3520
% 1.2402 1.8543 0.7197
%
% for tracer the solution Y_{1,1}(t) to fonctuion t
% plot(t,Y(1,:))
% xlabel('Temps t\in[0 1]')
% ylabel('The solution Y_{1,1}(t)')
% legend('BDF method').
Cite As
LAKHLIFA SADEK (2025). nonsymmetric differential Riccati matrix equations (https://www.mathworks.com/matlabcentral/fileexchange/72895-nonsymmetric-differential-riccati-matrix-equations), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Linear Algebra >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |
|