Code: Select all
w0 = 2*pi*fc;
b = 1;
a = [1 w0];
Example (Octave code, fc = 700Hz):
Code: Select all
G = 1/sqrt(2);
AnalogLP1 = tf(b, a);
% Results:
% Transfer function 'Analog' from input 'u1' to output ...
%
% 1
% y1: --------
% s + 4398
%
%Continuous-time model.
%
% without gain normalization filter is at -72.866 dB
AnalogLP1 = AnalogLP1 * a(2) * G
%Results:
% Transfer function 'Analog' from input 'u1' to output ...
% 3110
% y1: --------
% s + 4398
%
%Continuous-time model.
%