Demonstration of Fourier transformation
19 Apr 2010
(Updated 10 Feb 2012)
The first file construct signals from Fourier terms
The second file analyzes actual signals
%This file can acquire data from any signal voltage connected to the
%line-in port of the computer sound card (this should not exceed
%a peak value of one volt), perform fast Fourier transformation
%and produce plot and numerical data of the frequency spectrum
%of the signal.
%The input arguments are SR which is the signal sampling rate.
%This can be between 8000 and 44000, and the period of time T in seconds during which the signal is sampled it can range between 0.001 sec up to few seconds.
%The output data are the data ff, and cc used in plotting the frequency