function [Spec,f] = spectrum(varargin)
% SPECTRUM has been deprecated, use PSPECTRUM or PERIODOGRAM instead.
error(message('signal:deprecated:deprecatedSpectrum'));
