Location:
Search - matlab grid W
Search list
Description: 无线传感器网络中一种基于栅格划分的概率定位算法 希望对大家有用-Wireless sensor networks A grid-based location algorithm into the probability of U.S. hopes for a useful
Platform: |
Size: 266240 |
Author: 玉虎 |
Hits:
Description: The SPS PV array model implements a PV array built of series- and parallel-connected PV modules. It allows modeling a variety of preset PV modules available from NREL System Advisor Model (Jan. 2014) as well as a user-defined PV module. The PV array block has two inputs that allow you to supply varying sun irradiance (input Ir in W/m^2) and temperature (input T in deg. C) data.
In our example, the PV array consists of one string of 14 Trina Solar TSM-250 modules connected in series. At 25 deg. C and with a solar irradiance of 1000 W/m2, the string can produce 3500 W.
Two small capacitors, connected on the + and - terminals of the PV array, are used to model the parasitic capacitance between the PV modules and the ground.
Platform: |
Size: 46080 |
Author: monir10
|
Hits:
Description: MUSIC 算法MATLAB仿真源代码
clc
clear all
format long %将数据显示为长整型科学计数
N=200;%快拍数
doa=[20 60]/180*pi; %信号到达角
w=[pi/4 pi/3]';%信号频率
M=10;%阵元数
P=length(w); %信号个数
lambda=150;%波长
d=lambda/2;%阵元间距
snr=20;%信噪比
B=zeros(P,M); %创建一个P行M列的0矩阵
for k=1:P
B(k,:)=exp(-j*2*pi*d*sin(doa(k))/lambda*[0:M-1]); %矩阵赋值
end
B=B';
xx=2*exp(j*(w*[1:N])); %仿真信号
x=B*xx;
x=x+awgn(x,snr);%加入高斯白噪声
R=x*x'; %数据协方差矩阵
[U,V]=eig(R); %求R的特征值和特征向量
UU=U(:,1:M-P); %估计噪声子空间
theta=-90:0.5:90;
%%谱峰搜索
for ii=1:length(theta)
AA=zeros(1,length(M));
for jj=0:M-1
AA(1+jj)=exp(-j*2*jj*pi*d*sin(theta(ii)/180*pi)/lambda);
end
WW=AA*UU*UU'*AA';
Pmusic(ii)=abs(1/ WW);
end
Pmusic=10*log10(Pmusic/max(Pmusic)); %空间谱函数
plot(theta,Pmusic,'-k')
xlabel('角度 \theta/degree')
ylabel('谱函数P(\theta) /dB')
title('MUSIC算法的DOA估计谱')
grid on(MUSIC algorithm MATLAB simulation source code)
Platform: |
Size: 15360 |
Author: 冠华 |
Hits: