Using sinc() in a filter desing
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Danijel
el 20 de Mzo. de 2018
Comentada: MUHAMMAD ZAKI
el 2 de Feb. de 2021
In order to design a filter (windowing method), I first generate my sinc function like so:
L = 20;
fc = 0.25;
n = (1:L)';
my_sinc = sin(2*pi*fc*(n-L/2)) ./ (pi*(n-L/2));
my_sinc(L/2) = 2*fc;
Then I apply window:
win = blackman(L, 'symmetric');
filter_coeffs = (my_sinc .* win);
Can the first step be done using Matlab builtin sinc()?
0 comentarios
Respuesta aceptada
Danijel
el 20 de Mzo. de 2018
1 comentario
MUHAMMAD ZAKI
el 2 de Feb. de 2021
Hi, For the line my_sinc(L/2)=2*fc above, we don't need to use right?
Más respuestas (0)
Ver también
Categorías
Más información sobre Digital Filter Design en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!