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

13
FOTF Toolbox/@fotf/exp.m Normal file
View File

@ -0,0 +1,13 @@
function G=exp(del)
% exp - express delay term exp(-tau*s)
%only works for SISO FOTF model
% Copyright (c) Dingyu Xue, Northeastern University, China
% Last modified 28 May, 2022
try
T=double(del/fotf('s'));
if T>0, error('Delay must be negative'), else, T=-T; end
G=fotf(1); G.ioDelay=T;
catch, error('Error in extracting delay constant');
end
end