This commit is contained in:
2023-11-14 17:10:27 +08:00
commit d5a822831c
423 changed files with 5909 additions and 0 deletions

View File

@ -0,0 +1,16 @@
function G1=fotf2foss(G)
% fotf2foss - convert an FOTF object to FOSS one
%
% G1=fotf2foss(G)
%
% G - an FOTF object
% G1 - an equivalent FOSS object
% Copyright (c) Dingyu Xue, Northeastern University, China
% Last modified 28 March, 2017
% Last modified 18 May, 2022
[n,m]=size(G);
[G2,alpha]=fotf2cotf(G); G2=minreal(G2); G2=ss(G2);
for i=1:n, for j=1:m, g=G(i,j); T(i,j)=g.ioDelay; end, end
G1=foss(G2.a,G2.b,G2.c,G2.d,alpha,T,G2.E);
end