% Finds the time bandwidth product of a signal
%

function NW = timebandwidth(x);

% sample rate is 1Hz; then t=[0..length(x)),  f=[-1/2..1/2)
N = extent(x);
W = extent(fftshift(fft(x)))/length(x);
NW = N*W;

