function Delay = lti2ltvDelay(Delay)
% Converts LTI delay format to LTV delay format.

%  Copyright 2023 The MathWorks, Inc.
if any(Delay.Input) || any(Delay.Output) || any(Delay.Internal)
   Delay.Input(Delay.Input==0) = NaN;
   Delay.Output(Delay.Output==0) = NaN;
else
   Delay = [];
end
