代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
sa_ex8_1a.m
%Godara Method
% Example 8.1
d=.5;
N=5;
theta=-pi/2:.01:pi/2;
ang=theta*180/pi;
th0=0; % receive angle
th1=-15*pi/180; % first interferer angle
th2=25*pi/180; % secon
sa_fig4_19.m
%Smart antennas figure 4.19 kaiser-bessel weights on a linear arra
d=.5;
N=input('what is the number of elements?');
theta=-pi/2:.01:pi/2;
ang=theta*180/pi;
test=kaiser(N,3);
check=mod(N,2)
if
sa_fig4_25.m
% Smart Antennas figure 4.25 plotting 3-d circular array patterns
th0=input('What is the steering angle for \theta0?')
ph0=input('What is the steering angle for \phi0?')
th0=th0*pi/180;
ph0=ph0*p
sa_ex8_2b.m
%Maximum SIR beamforming
d=.5;
N= 5;
sig2=.001; % noise variance
theta=-pi/2:.01:pi/2;
ang=theta*180/pi;
th0=30*pi/180; % receive angle
th1=-20*pi/180; % first interferer a
sa_fig6_23.m
% Angular distribution for a circle of scatterers
thmax=pi/4;
th=-pi/4+.01:.001:pi/4-.01;
f=1./sqrt(thmax^2-th.^2);
figure;
plot(th*180/pi,f,'k')
xlabel('Arrival Angle')
Ylabel('PAP')
axis([
sa_ex8_5.m
%Minimum variance Array Weights
% example 8.5
d=.5;
N= 5;
sig2=.001; % noise variance
theta=-pi/2:.01:pi/2;
ang=theta*180/pi;
th0=30*pi/180; % receive angle
th1=-10*pi/180;
s=1;
sa_ex8_3.m
%Minimum MSE beamforming
% Example 8.3
d=.5;
N=5;
sig2=.001; % noise variance
theta=-pi/2:.01:pi/2;
ang=theta*180/pi;
th0=20*pi/180; % receive angle
th1=-20*pi/180; % firs
sa_fig4_11.m
%Smart Antennas figure 4-11 Binomial weights on a linear array
d=.5;
N=input('what is the number of elements?');
theta=-pi/2:.01:pi/2;
ang=theta*180/pi;
test=diag(rot90(pascal(N)));
check=mod(N,
sa_fig4_15.m
%Smart Antennas figure 4.15 Binomial
d=.5;
N=input('what is the number of elements?');
theta=-pi/2:.01:pi/2;
ang=theta*180/pi;
test=hamming(N);
check=mod(N,2)
if check == 0
wB=flipud(test(1:N/
sa_fig4_17.m
%Smart Antennas figure 4.17 Gaussian weights on linear array
d=.5;
N=input('what is the number of elements?');
theta=-pi/2:.01:pi/2;
ang=theta*180/pi;
test=gausswin(N);
check=mod(N,2)
if check