12.07.2015 Views

Basics of MATLAB and Beyond

Basics of MATLAB and Beyond

Basics of MATLAB and Beyond

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

clfpolar(t,gdb)In this case you must use a modified version <strong>of</strong> polar that interpretsa zero radius as a 0 dB value which should go at the outer limit <strong>of</strong> theplot. Negative decibel values should appear at smaller radii. I haveimplemented these ideas in the m-file negpolar (see companion s<strong>of</strong>tware):negpolar(t,gdb)The negpolar function also omits the solid outer circle which, like thebox drawn around matlab’s default plot output, unnecessarily framesthe plot <strong>and</strong> can obscure the data that you are trying to display. A faintdotted grid is enough to put the plotted points in context. I will saymore about this in the section on H<strong>and</strong>le Graphics later (see page 65).17 Fourier TransformA theorem <strong>of</strong> mathematics says, roughly, that any function can be representedas a sum <strong>of</strong> sinusoids <strong>of</strong> different amplitudes <strong>and</strong> frequencies. TheFourier transform is the mathematical technique <strong>of</strong> finding the amplitudes<strong>and</strong> frequencies <strong>of</strong> those sinusoids. The Discrete Fourier Transform(DFT) is an algorithm that calculates the Fourier transform for numericaldata. The Fast Fourier Transform is an efficient implementation <strong>of</strong>the DFT. The following functions are available in matlab to do Fouriertransforms <strong>and</strong> related operations:c○ 2000 by CRC Press LLC

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

Saved successfully!

Ooh no, something went wrong!