This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


Frequency-domain coefficients


c = fftcoeffs(hd)


c = fftcoeffs(hd) return the frequency-domain coefficients used when filtering with the dfilt.fftfir object. c contains the coefficients


This example demonstrates returning the FFT coefficients from the discrete-time filter hd.

% FFTCOEFS_EX Example code imported directly into documentation.

% Copyright 2010 The MathWorks, Inc.

% ==============================================
% Documentation example from
% fftcoeffs reference page
% in function_fftcoeffs.xml

% begindocexample fftcoefs_ex
b = [0.05 0.9 0.05];
len = 50;
hd = dfilt.fftfir(b,len);
% enddocexample fftcoefs_ex

Introduced in R2011a

Was this topic helpful?