Effacer les filtres
Effacer les filtres

The real-valued amplitude response

3 vues (au cours des 30 derniers jours)
Johan Johan
Johan Johan le 25 Août 2019
Réponse apportée : Matt J le 25 Août 2019
Where amplitude response A(w) is continuous and real-valued.
How i can write a Matlab function that uses the FFT to compute A(w) from the impulse
response h(n) at the frequency points.
Matlab header:
function [A,w] = firamp(h,type,L)
% Amplitude response of a linear-phase FIR filter
% A : amplitude response at the frequencies w
w : [0:L-1]*(2*pi/L);
h : impulse response
type = [1,2,3,4]

Réponses (1)

Matt J
Matt J le 25 Août 2019
The examples in the documentation will be helpful

Catégories

En savoir plus sur Fourier Analysis and Filtering dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by