% This is a functidn program of music algrithm. The input is
% the data matrix from the array and number of the coming signals 
% and the number of sample of
% the null-spectrum. The output is the estimation of the angles.
% a: the array matirx of a single angle.
% Pmu: the null-spectrum of this algrithm
% E,U,V:singular values and associated left- and right- singular vector
function [MSP]=music(Uo);
ij=sqrt(-1);
[L,x]=size(Uo);
Oo=Uo*Uo';
for m=-89:90,

	middle1=real(steer(m,L)'*Oo*steer(m,L));
	MSP(m+90)=1./middle1;

end


