The real-valued amplitude response

12 次查看(过去 30 天)
Johan Johan
Johan Johan 2019-8-25
回答: Matt J 2019-8-25
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]

回答(1 个)

Matt J
Matt J 2019-8-25
The examples in the documentation will be helpful

类别

Help CenterFile Exchange 中查找有关 Fourier Analysis and Filtering 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by