buttmag — response of Butterworth filter
[h]=buttmag(order,omegac,sample)
integer : filter order
real : cut-off frequency in Hertz
vector of frequency where buttmag
is evaluated
Butterworth filter values at sample points
squared magnitude response of a Butterworth filter
omegac
= cutoff frequency ; sample
= sample of frequencies