I have made my analogue butterworth filter in matlab and am converting it to digital using bilinear with this code,(adsbygoogle = window.adsbygoogle || []).push({});

n and wc have been defined but I am getting a reall weird result and I don't know why, think it is because of omega, can anyone help ?Code (Text):

[num,den] = butter(n,wc,'s');

[numd,dend]=bilinear(num,den,Fs)

% Compute and plot the frequency response

omega = [0: 100: 12000*pi];

h = freqz(numd,dend,omega);

plot (omega/(2*pi),20*log10(abs(h)));

xlabel('Frequency, Hz'); ylabel('Gain, dB');

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Using freqz and bilinear matlab

Can you offer guidance or do you also need help?

Draft saved
Draft deleted

Loading...

Similar Threads for Using freqz bilinear |
---|

Using Maxima to plot error in Fourier series |

MATLAB Solving equation with integration using MATLAB |

**Physics Forums | Science Articles, Homework Help, Discussion**