-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathfstsol.m
More file actions
34 lines (32 loc) · 825 Bytes
/
fstsol.m
File metadata and controls
34 lines (32 loc) · 825 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
function [X] = fstsol(T,B)
%FSTSOL Solve linear systems X*BT = B / BT*X = B, where BT is a
% symmetric positive definite (block) Toeplitz matrix,
% given the first (block) row / column T of BT.
%
% X = FSTSOL(T,B) solves the linear system
% X*BT = B / BT*X = B.
%
% See also FSTOEP, FSTCHOL, FSTGEN, FSTUPD
%
% RELEASE 2.0 of SLICOT Basic Systems and Control Toolbox.
% Based on SLICOT RELEASE 5.7, Copyright (c) 2002-2020 NICONET e.V.
%
% V. Sima 20-12-2000.
% Revised: Mar. 2009.
%
ni = nargin; nout = nargout;
%
if ni == 2,
%
% Factorization and solution.
%
if nout == 1,
X = fstoep(11,T,B);
else
error('Improper number of output arguments.')
end
else
error('Improper number of input arguments.')
end
%
% end fstsol