Adjust gain, analog model of LP filter

DSP, Plugin and Host development discussion.
Post Reply New Topic
RELATED
PRODUCTS

Post

I have this "analog model" of one pole LP filter:

Code: Select all

w0 = 2*pi*fc;
b = 1;
a = [1 w0];
I would like to drop the filter say -3dB ... is it OK to do by just multiplying the transfer result?

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.
%

Post

If you multiply your analog transfer function with a constant, you get a new transfer function which is absolutely the same but with the magnitude amplified or attenuated by that constant for every frequency...

Post

Thanks for the info.

Post Reply

Return to “DSP and Plugin Development”