You are here: Frontpage : Introduction » Tutorials » The Discrete Fourier Transformation (DFT): Definition and numerical examples

This shows you the differences between two versions of the page.

tutorial:the_discrete_fourier_transformation_dft [2014/04/07 23:57] Simon-Shlomo Poil [Background] |
tutorial:the_discrete_fourier_transformation_dft [2014/12/04 11:45] (current) Klaus Linkenkaer-Hansen [Background] |
||
---|---|---|---|

Line 35: | Line 35: | ||

** Preparation for the tutorial ** | ** Preparation for the tutorial ** | ||

- | The commands on in this box ensure that the following exercise has all the necessary scripts and does not interfere with variables or graphics from previous exercises. If you come directly from another exercise it should be clear which commands you can skip. | + | The commands in this box ensure that the following exercise has all the necessary scripts and does not interfere with variables or graphics from previous exercises. If you come directly from another exercise it should be clear which commands you can skip. |

Start MATLAB and find your current working directory using 'pwd'. | Start MATLAB and find your current working directory using 'pwd'. | ||

Line 107: | Line 107: | ||

phs = 90/360; % the phase of the wave. | phs = 90/360; % the phase of the wave. | ||

- | [wave] = SignalGenerator_sin(frq, len, Fs, phs); % Generate a sine wave. | + | [wave] = signalgenerator_sin(frq, len, Fs, phs); % Generate a sine wave. |

</code> | </code> | ||