MATLAB Answers

0

The real-valued amplitude response

Asked by Johan Johan on 25 Aug 2019 at 17:42
Latest activity Answered by Matt J
on 25 Aug 2019 at 22:44
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]

  0 Comments

Sign in to comment.

1 Answer

Answer by Matt J
on 25 Aug 2019 at 22:44

The examples in the documentation will be helpful

  0 Comments

Sign in to comment.