Designing a lowpass filter in matlab
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Stefan
el 2 de Dic. de 2013
Comentada: Youssef Khmou
el 18 de Dic. de 2013
Hello,
I want to implement the analog LP filter having a cutoff frequency of 2.4Hz and gain of 101 as shown http://img42.imageshack.us/img42/4320/qe74.jpg in the matlab. How to implement this LPfilter having a cutoff frequency and gain in matlab. Can help me out with this.
0 comentarios
Respuesta aceptada
Youssef Khmou
el 2 de Dic. de 2013
there is a filter design functions , you can start with the simplest function as follows :
% given you sampling frequency, lets say 20
fs=20;
fc=2/10;
b=fir(N,fc);
freqz(b);
6 comentarios
Youssef Khmou
el 18 de Dic. de 2013
N is the number of coefficients in the filter. The build in function fir1 requires the cut off frequency to be 0<fc<1, that is why you compute the new cut frequency as a function of Fs : Fc2=fc/(0.5*Fs).
Más respuestas (0)
Ver también
Categorías
Más información sobre Digital Filter Analysis en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!