shannoncap.m

来自「卫星链路的计算」· M 代码 · 共 6 行

M
6
字号
function cap = ShannonCap(bandwidth,SNR)
% This function caculates the Theoretical Information Capacity(Shannon limit)
% bandwidth: the occupied system bandwidth
% SNR: signal to noise ratio, dB.

cap = bandwidth*log2(1+10^(SNR/10));

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?