Sat 14 Nov 2015 01:49:29 PM UTC, original submission:
The functions buttord, cheb1ord, cheb2ord had different problems
and missing functionalities on which I worked to propose
here corrections. As the corrections are partially the same for
all 3 function, I decided to post only one error report.
I append a zip file with all the necessary files and testcases,
and the diff files.
Below the detailed description of all corrections, each time with
the corresponding test case.
buttord:
=======
1) Error corrected
The known problem of overdesigning bandpass and bandreject filters
(displayed as warning by the function) has been solved.
Test cases: buttord_test_dig_BP.m
buttord_test_dig_notch.m
2)Improvements
2.1) Analog filters are now supported as in Matlab.
(this includes a new 'validate_filter_bandss.m'
function for analog filters that I already submitted
in the case of the ellipord function).
Test cases: buttord_test_ana_LP.m
buttord_test_ana_HP.m
buttord_test_ana_BP.m
buttord_test_ana_notch.m
2.2) New output argument allows to make the filter caracteristic
touch the passband or stopband corner.
Test cases: buttord_test_ana_LP.m
buttord_test_ana_HP.m
buttord_test_ana_BP.m
buttord_test_ana_notch.m
buttord_test_dig_LP.m
buttord_test_dig_HP.m
buttord_test_dig_BP.m
buttord_test_dig_notch.m
cheb1ord and cheb2ord:
=====================
1) Error corrected
Solved problem in cheb2ord for band pass filter:
filter did not satisfy requirements in case of
NOT symmetrical requirements
Test cases: buttord_test_dig_BP.m (fig 5 to 8)
2) Missing functionaly
Notch filters are now supported
Test cases: cheb12ord_test_ana_notch.m
cheb12ord_test_dig_notch.m
Test cases: cheb12ord_test_ana_LP.m
cheb12ord_test_ana_HP.m
cheb12ord_test_ana_BP.m
cheb12ord_test_ana_notch.m
cheb12ord_test_dig_LP.m
cheb12ord_test_dig_HP.m
cheb12ord_test_dig_BP.m
cheb12ord_test_dig_notch.m
3)Improvements
3.1) Analog filters are now supported as in Matlab.
(this includes a new 'validate_filter_bandss.m'
function for analog filters that I already submitted
in the case of the ellipord function).
Test cases: cheb12ord_test_ana_LP.m
cheb12ord_test_ana_HP.m
cheb12ord_test_ana_BP.m
cheb12ord_test_ana_notch.m
3.2) New output argument allowing to make the filter caracteristic
touch the passband or stopband corner.
Test cases: cheb12ord_test_ana_LP.m
cheb12ord_test_ana_HP.m
cheb12ord_test_ana_BP.m
cheb12ord_test_ana_notch.m
cheb12ord_test_dig_LP.m
cheb12ord_test_dig_HP.m
cheb12ord_test_dig_BP.m
cheb12ord_test_dig_notch.m
|