function sigspec(sigin,flag) if(nargin==0) disp('USAGE: sigspec(sigin,flag)'); disp(' The input signals should be in the columns of sigin.'); disp(' flag=0 produces a linear magnitude plot (default)'); disp(' flag=1 produces a log magnitude plot (dB)'); return; end if(nargin==1) flag = 0; end [len,numsigs]=size(sigin); if(len