28.12.2012 Views

Figure Properties - SERC

Figure Properties - SERC

Figure Properties - SERC

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2fftw<br />

Purpose Interface to the FFTW library run-time algorithm for tuning fast Fourier<br />

transform (FFT) computations<br />

Syntax fftw('planner', method)<br />

method = fftw('planner')<br />

str = fftw('wisdom')<br />

fftw('wisdom', str)<br />

fftw('wisdom', '')<br />

fftw('wisdom', [])<br />

Description fftw enables you to optimize the speed of the MATLAB FFT functions fft,<br />

ifft, fft2, ifft2, fftn, and ifftn. You can use fftw to set options for a tuning<br />

algorithm that experimentally determines the fastest algorithm for computing<br />

an FFT of a particular size and dimension at run time. MATLAB records the<br />

optimal algorithm in an internal data base and uses it to compute FFTs of the<br />

same size throughout the current session. The tuning algorithm is part of the<br />

FFTW library that MATLAB uses to compute FFTs.<br />

fftw('planner', method) sets the method by which the tuning algorithm<br />

searches for a good FFT algorithm when the dimension of the FFT is not a<br />

power of 2. You can specify method to be one of the following:<br />

'estimate'<br />

'measure'<br />

'patient'<br />

'exhaustive'<br />

'hybrid'<br />

When you call fftw('planner', method), the next time you call one of the FFT<br />

functions, such as fft, the tuning algorithm uses the specified method to<br />

optimize the FFT computation. Because the tuning involves trying different<br />

algorithms, the first time you call an FFT function, it might run more slowly<br />

than if you did not call fftw. However, subsequent calls to any of the FFT<br />

functions, for a problem of the same size, often run more quickly than they<br />

would without using fftw.<br />

fftw<br />

2-757

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!