www.pudn.com > cyclostationary_toolbox.rar > degree_of_cyclostationarity.m, change:1997-11-25,size:671b


function d=degree_of_cyclostationarity(R)
%
% DEGREE_OF_CYCLOSTATIONARITY
%              Compute the degrees of cyclostationarity of a signal
%              from its cyclic autocorrelation
%
% USAGE
%              d=degree_of_cyclostationarity(R)
%              
%              R is the cyclic-autocorrelation of a signal
%              
%              d is a vector containing all degrees of cyclostationarity
%              for integer multiples of the frequency used to obtain R

% File: degree_of_cyclostationarity.m
% Last Revised: 25/11/97
% Created: 25/11/97
% Author: Andrew C. McCormick
% (C) University of Strathclyde

d=sum(abs(R).^2)/sum(abs(R(:,1)).^2);