function freqout = nfreq(freqin);
global samprate;

% Converts freqin given in cycles per second to freqout given in
%     radians per sample.

freqout = 2*pi*freqin/samprate;

% End definition of nfreq
