function[dollar5fft,dollar10fft,dollar20fft,dollar50fft,dollar100fft] = ffttemp(dollar5t,dollar10t,dollar20t,dollar50t,dollar100t)
% This function will perform the FFT on all incoming templates. Note the
% templates that is coming in should be threshold to 1's and 0's. Also note
% that instead of using the FFT function, FFT2 function can be used to
% perform a 2-D fft. This will speed up the process, however FFT was used
% because the program has to be converted to C and a 2-D fft prgoram for C
% was not available.



% Performing the fft on all the templates

[row col] = size(dollar5t);

for i =1:row
    dollar5fft(i,:) = fft(dollar5t(i,:));
end

[row col] = size(dollar10t);

for i =1:row
    dollar10fft(i,:) = fft(dollar10t(i,:));
end

[row col] = size(dollar20t);

for i =1:row
    dollar20fft(i,:) = fft(dollar20t(i,:));
end

[row col] = size(dollar50t);

for i =1:row
    dollar50fft(i,:) = fft(dollar50t(i,:));
end

[row col] = size(dollar100t);

for i =1:row
    dollar100fft(i,:) = fft(dollar100t(i,:));
end



