tu2_8.m
来自「多输入多输出系统不同收发天线对系统性能的影响」· M 代码 · 共 16 行
M
16 行
SNR=0:10;
% SNR=[0.0001,SNR];
M=4;
k=0.8;
for i=1:length(SNR)
output1(i)=capacity_water(SNR(i),M);
output2(i)=capacity_rician(SNR(i),M,k,'erg');
end
plot(SNR,output1,'b-^',SNR,output2,'k-^');
%plot routines follow. These will change depending upon the type of plot.
%The following routines are based on the given example above
xlabel('SNR');
ylabel('Capacity (Bits/sec)');
title('Ergodic Capacity Variation with channel knowledge and without channel knowledge');
legend('channel known to tx','channel unknown to tx');
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?