randn(X) Generate a X-dimension square matrix with normally distributed random elements. find(X, N) Return a vector of indices of nonzero elements of a matrix find (eye (2)) => [ 1; 4 ] 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/22344/showart_1330318.html
GNU octave Tips 1. addpath addpath DIR1 Add DIR1, ... to the current function search path 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/22344/showart_1019148.html
BPSK,即二进制相位键控,一种数字调制技术。 信息表示:使用两个相位来表示信息"0"和"1",相应的两种信号互为取反。 解调判决:最佳判决门限为0,当抽样值为正时,判决为1;抽样值为负,则判决为0。 噪声服从高斯分布,它的方差 sigma^2 = 1/(2*SNR), sigma = sqrt(1/(2*SNR)), 其中SNR=Eb/N0,Eb为比特能量,N0为噪声功率谱密度(PSD)。 以下octave脚本依次分析SNR从-3到8对应的BER。对于每个SNR值,重复若干次实验(重复...