test-bench-apa/setup.m

6 lines
82 B
Matlab

s = tf('s');
Ts = 1e-4;
Glpf = 1/(1 + s/2/pi/500);
Gz = c2d(Glpf, Ts, 'tustin');