| Filter Design Toolbox | ![]() |
Syntax
Description
creates a quantized FFT with default property values.f = qfft
uses property name/ property value pairs to set the properties of the quantized FFT.f = qfft('propertyname1',propertyvalue1,...)
where f = qfft(a),
a is a structure whose field names are quantized FFT property names, sets the properties named in each field name to the values contained in the structure.
sets the quantized FFT properties specified in the cell array of strings f = qfft(pn,pv)
pn to the corresponding property values in cell array pv.
f = qfft('quantize',[14 13])
sets all data format properties for the quantized FFT to the same word length and fraction length.
Refer to A Quick Guide to Quantized FFT Properties for a list of quantized FFT properties.
Examples
Create a quantized FFT f and apply it to a data set. Plot the result.
warning on n=128; t = (1:n)/n; x = sin(2*pi*10*t)/10; f = qfft('length',n); plot(t,abs([fft(f,x);fft(x)]))
See Also
fft, get, ifft, qreport, set
| order | qfilt | ![]() |
Learn more about the latest releases of MathWorks products: |
| © 1994-2009 The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |