%% Enter Signal Data Matrix Generated by corrmtx
% Enter a signal data matrix, Xm, generated from data using corrmtx.

n = 0:699;
x = cos(0.257*pi*(n)) + 0.1*randn(size(n));
Xm = corrmtx(x,7,'modified');
pmusic(Xm,2)

% Copyright 2015 The MathWorks, Inc.