adaptive antennas LMS algorithm

I'm looking for Matlab codes for LMS and RLS Algorithms in Smart Antenna Technology if you have any ,please post it to me. Thanks

5 件のコメント

John D'Errico
John D'Errico 2014 年 6 月 9 日
Before that, you should add how much you are willing to pay for us to do your work. Surely it is worth something? If not, then why would we bother to do your job?
yousef Yousef
yousef Yousef 2014 年 6 月 9 日
=1; % normalized frequency
C=3e8;
Landa=C/f;
d=Landa/2;
PETA=2*pi/Landa;
N=8;
n_b=1000 ; % number of samples
n=linspace(0,2*pi/f,n_b);
thetad=0 ; %AoA
theta_d=thetad*pi/180;
Ad=exp(-j*PETA*d*sin(theta_d)*[0:N-1])'; %steering vector for the desired signal
msg = randi(1,n_b); % Random binary data stream
Vs=1;
s =Vs* pskmod(msg,2); %BPSK modulation
SNR=10; % channel SNR
S=Ad*s; % received signal by the array; matrix N by n_b
x = awgn(S,SNR) ;
W_LMS=zeros(N,1); %Intial weight vector
Mu=0.05; %step size
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
for K=1:100
X=x(:,K);
D=s(K);% reference signal
e_LMS(K)=D-W_LMS'*X; %error signal
W_LMS=W_LMS+Mu*X*conj(e_LMS(K)); %generated weight vector
end
theta = -pi/2:.01:pi/2;
AF = zeros(1,length(theta));
w=W_LMS;
N=8;
for i = 1:N
AF = AF + w(i)'.*exp(1j*(i-1)*2*pi*d*sin(theta));
end
w = (w./w(1));
figure
plot(theta*180/pi,abs(AF)/max(abs(AF)),'k')
plot(theta*180/pi,abs(AF)/max(abs(AF)),'k')
xlabel('AOA (deg)')
ylabel('|AF_n|')
axis([-90 90 0 1.1])
set(gca,'xtick',[-90 -60 -30 0 30 60 90])
the world is very lucky that there are not too many people like you
debasis  mohanta
debasis mohanta 2015 年 10 月 31 日
sir kindly help me i want the code of LMS algorithm used in the adAPTIVE FILTER..kindly help me
yibeltal  andualem
yibeltal andualem 2020 年 5 月 27 日
please help me adaptive lms algorithm for interference management in mm wave massive mimo matlab code
yibeltal  andualem
yibeltal andualem 2020 年 5 月 27 日
Mr. yousef yousef please complete the above code

サインインしてコメントする。

回答 (2 件)

Christian  Okpara
Christian Okpara 2015 年 1 月 30 日

0 投票

Pls Yousef, am really interested in this smart antenna. What frequency was this antenna modeled for and is it suitable for broadband application?

カテゴリ

質問済み:

2014 年 6 月 9 日

コメント済み:

2022 年 1 月 2 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by