summaryrefslogtreecommitdiff
path: root/macros/buttord.sci
diff options
context:
space:
mode:
authoravinashlalotra2025-04-26 20:09:12 +0530
committeravinashlalotra2025-04-26 20:09:12 +0530
commitea7dcdba3b83696b97cc431ee050b58f9a0f3507 (patch)
tree49ea8ba898b88535c261546f4e3accbdf4c83bdf /macros/buttord.sci
parent725d9ee2ddb254f57a896bb47e0e727759eb5901 (diff)
downloadFOSSEE-Signal-Processing-Toolbox-ea7dcdba3b83696b97cc431ee050b58f9a0f3507.tar.gz
FOSSEE-Signal-Processing-Toolbox-ea7dcdba3b83696b97cc431ee050b58f9a0f3507.tar.bz2
FOSSEE-Signal-Processing-Toolbox-ea7dcdba3b83696b97cc431ee050b58f9a0f3507.zip
formated source documentation pattern for generating docs
Diffstat (limited to 'macros/buttord.sci')
-rw-r--r--macros/buttord.sci4
1 files changed, 0 insertions, 4 deletions
diff --git a/macros/buttord.sci b/macros/buttord.sci
index dbf0e10..11aeb6c 100644
--- a/macros/buttord.sci
+++ b/macros/buttord.sci
@@ -12,11 +12,9 @@
function [n, Wc] = buttord(Wp, Ws, Rp, Rs)
//Minimum filter order and 3dB cutoff frequency of a digital Butterworth filter with the desired response characteristics
-
//Calling Sequence
//n = buttord(Wp, Ws, Rp, Rs)
//[n, Wc] = buttord(Wp, Ws, Rp, Rs)
-
//Parameters
//Wp: scalar or vector of length 2 (passband edge(s) ), elements must be in the range [0,1]
//Ws: scalar or vector of length 2 (stopband edge(s) ), elements must be in the range [0,1]
@@ -24,7 +22,6 @@ function [n, Wc] = buttord(Wp, Ws, Rp, Rs)
//Rs: stopband attenuation in dB.
//n: Minimum filter order satisfying specs
//Wc: 3dB cutoff frequency/frequencies
-
//Description.
//This function computes the minimum filter order of a Butterworth filter with the desired response characteristics.
//The filter frequency band edges are specified by the passband frequency wp and stopband frequency ws.
@@ -33,7 +30,6 @@ function [n, Wc] = buttord(Wp, Ws, Rp, Rs)
//If ws>wp, the filter is a low pass filter. If wp>ws, the filter is a high pass filter.
//If wp and ws are vectors of length 2, then the passband interval is defined by wp the stopband interval is defined by ws.
//If wp is contained within the lower and upper limits of ws, the filter is a band-pass filter. If ws is contained within the lower and upper limits of wp the filter is a band-stop or band-reject filter.
-
//Examples
//Wp = 40/500 ;
//Ws = 150/500 ;