Number of snapshots

FIND A SOLUTION AT Academic Writers Bay

clc clear all format long A=[30 45]/180pi; %Arrival of signal S=300; %Number of snapshots included f=[pi/6 pi/4]’; %Signal Frequency N=8; %Array elements count L=length(f); %Length(Number) of signal lambda=160; %Signal Wavelength t=lambda/2; %Spacing of elements snr=30; %Signal-to-Noise ratio T=zeros(L,N); %Matrix creation with L row and N column for p=1:L T(p,:)=exp(-j2pitsin(A(p))/lambda[0:N-1]); %Matrix Allocation end T=T’; yy=2exp(j(f[1:S])); %Simulate of signal y=Tyy; y=y+awgn(y,snr); %Inserting AWGN R=yy’; %Covariance matrix data [S,U]=eig(R); %Find the eigenvalues and eigenvectors HH=S(:,1:N-L); %Estimating noise subspace theta=-90:0.5:90; %Searching the peak for ii=1:length(theta) OO=zeros(1,length(N)); for jj=0:N-1 OO(1+jj)=exp(-j2jjpitsin(theta(ii)/180pi)/lambda); end RR=OOHHHH’OO’; Palgorithm(ii)=abs(1/ RR); end Palgorithm=10*log10(Palgorithm/max(Palgorithm)); %Signal function of Spatial spectrum plot(theta,Palgorithm,’-m’) grid on ylabel(‘ P(theta) spectrum function’) xlabel(‘ (theta) angle in degree’) title(‘DOA Estimation using MUSIC Algorithm ‘)

READ ALSO...   HI5004 Marketing ManagementCase Study Insights Report and Marketing Planguidelines found in the APA Style Guide.KEL026 Seven-Eleven Japan CoPerformance Management and AppraisalProvide a 3 pages analysis while answeringManaging Organisations in a Global Environment
Order from Academic Writers Bay
Best Custom Essay Writing Services