No BSD License
-
Analog2Digital(Ak, Bk, Ck, Dk...
Analog2Digital: bilinear transformation of an analog system K to discrete
-
Digital2Analog(Ap, Bp, Cp, Dp...
Digital2Analog: bilinear transformation of a discrete system P to analog
-
IntDelayOp(m)
% INTDELAYOP: Integer Delay Operator. IntDelayOp delays the i-th channel of
-
MVL(Ai, Bi, Aj, Bj, t)
-
analog_conv(I, sys, f, t, dt)
analog_conv: simulate an analog system. Input and output will be given as
-
designFIR(phi, D, m0, h, M, n...
-
designIIR(phi, D, m0, h, M)
-
getAd(phi, h, d)
-
getBd(phi, h, d)
-
getCd(phi, h, d)
-
getF(Af, Bf, Cf, Df, M)
-
getH(sys, M)
-
getP(sys, M)
-
getW(sys, M)
-
lmi_opt(sys, M, n)
LMI_OPT: Linear Matrix Inequality Optimization, used in the design of FIR
-
Contents.m
-
demo.m
-
initialization.m
-
plot_equi_filters.m
-
View all files
|
|
| analog_conv(I, sys, f, t, dt)
|
function y = analog_conv(I, sys, f, t, dt)
% analog_conv: simulate an analog system. Input and output will be given as
% an array of values at equi-distance time interval.
%
% Usage: y = analog_conv(x, sys, f, t, dt)
%
% INPUTS:
% I: effective time interval will be used in the output
% sys: the analog system
% f: the input signal
% t: discrete instances used in the simulation
% dt: time increment
%
% OUTPUT:
% y: output signal
%
% See also: demo
a = lsim(sys, f, t);
n = round(I/dt);
for i = 1:length(n)
if (n(i) < 1)
y(i) = 0;
else
y(i) = a(n(i));
end
end
|
|
Contact us at files@mathworks.com