function [X,w] = contfft(x,T); % CONTFFT [X,w] = contfft(x,T) % % Computes the Fourier transform of a continuous time signal % using the FFT. The input is the sampled continuous % time signal x and the sampling time T. The output is % the Fourier transform X(w) and the frequency vector w. % [n,m] = size(x); if n