|
@ -48,17 +48,6 @@ specification_max_pass_attenuation = 0.5+AEM(4)/18; % dB |
|
|
|
|
|
|
|
|
clear design_param_D |
|
|
clear design_param_D |
|
|
|
|
|
|
|
|
%{ |
|
|
|
|
|
specification_low_pass_radial_frequency = 1000; % rad/s |
|
|
|
|
|
specification_high_pass_radial_frequency = 3000; % rad/s |
|
|
|
|
|
specification_low_stop_radial_frequency = 1400; % rad/s |
|
|
|
|
|
specification_high_stop_radial_frequency = 2142; % rad/s |
|
|
|
|
|
specification_min_stop_attenuation = 15; % dB |
|
|
|
|
|
specification_max_pass_attenuation = 1; % dB |
|
|
|
|
|
specification_central_radial_frequency = sqrt( ... |
|
|
|
|
|
specification_low_pass_radial_frequency* ... |
|
|
|
|
|
specification_high_pass_radial_frequency); |
|
|
|
|
|
%} |
|
|
|
|
|
% ========== DESIGN SPECIFICATIONS END ========== |
|
|
% ========== DESIGN SPECIFICATIONS END ========== |
|
|
|
|
|
|
|
|
%% ========== PROTOTYPE LOW PASS DESIGN SPECIFICATIONS START ========== |
|
|
%% ========== PROTOTYPE LOW PASS DESIGN SPECIFICATIONS START ========== |
|
@ -650,17 +639,17 @@ ltiview(high_pass_notch_units_transfer_functions(1,1), ... |
|
|
low_pass_notch_units_transfer_functions(1,2)); |
|
|
low_pass_notch_units_transfer_functions(1,2)); |
|
|
%} |
|
|
%} |
|
|
|
|
|
|
|
|
%{ |
|
|
% |
|
|
ltiview(high_pass_notch_units_transfer_functions(1,1), ... |
|
|
ltiview(high_pass_notch_units_transfer_functions(1,1), ... |
|
|
high_pass_notch_units_transfer_functions(1,2), ... |
|
|
high_pass_notch_units_transfer_functions(1,2), ... |
|
|
low_pass_notch_units_transfer_functions(1,1), ... |
|
|
low_pass_notch_units_transfer_functions(1,1), ... |
|
|
low_pass_notch_units_transfer_functions(1,2), ... |
|
|
low_pass_notch_units_transfer_functions(1,2), ... |
|
|
total_transfer_function); |
|
|
total_transfer_function); |
|
|
%} |
|
|
% |
|
|
|
|
|
|
|
|
%ltiview(total_transfer_function); |
|
|
%ltiview(total_transfer_function); |
|
|
|
|
|
|
|
|
% |
|
|
%{ |
|
|
plot_transfer_function(total_transfer_function, ... |
|
|
plot_transfer_function(total_transfer_function, ... |
|
|
[specification_central_frequency ... |
|
|
[specification_central_frequency ... |
|
|
design_half_power_radial_frequency/(2*pi) ... |
|
|
design_half_power_radial_frequency/(2*pi) ... |
|
@ -668,7 +657,7 @@ plot_transfer_function(total_transfer_function, ... |
|
|
specification_low_pass_frequency ... |
|
|
specification_low_pass_frequency ... |
|
|
specification_high_pass_frequency ... |
|
|
specification_high_pass_frequency ... |
|
|
specification_high_stop_frequency]); |
|
|
specification_high_stop_frequency]); |
|
|
% |
|
|
%} |
|
|
|
|
|
|
|
|
% Clears unneeded variable from workspace |
|
|
% Clears unneeded variable from workspace |
|
|
clearVars = {'total_transfer_function'}; |
|
|
clearVars = {'total_transfer_function'}; |
|
|