Matlab函数——awgn
标签: awgn白高斯噪声2013-10-29 18:30 6415人阅读 评论(0)收藏举报 本文章已收录于: 分类: 作者同类文章X语法 y = awgn(x,snr) y = awgn(x,snr,sigpower) y = awgn(x,snr,'measured') y = awgn(x,snr,sigpower,state) y = awgn(x,snr,'measured',state) y = awgn(...,powertype)
描述y = awgn(x,snr)将白高斯噪声添加到向量信号x中。标量snr指定了每一个采样点信号与噪声的比率,单位为dB。如果x是复数的,awgn将会添加复数噪声。这个语法假设x的能量是0dBW。y = awgn(x,snr,sigpower)和上面的语法相同,除了sigpower是x的能量,单位为dBW。y = awgn(x,snr,'measured')和y = awgn(x,snr)是相同的,除了agwn在添加噪声之前测量了x的能量。y = awgn(x,snr,sigpower,state)和y = awgn(x,snr,sigpower)是相同的,除了awgn首先重置了正态随机数产生器randn的状态为整数状态。y = awgn(x,snr,'measured',state)和y = awgn(x,snr,'measured')是相同的,除了awgn首先重置了正态随机数产生器randn的状态为整数状态。y = awgn(...,powertype)和前面的语法相同,除了字符串powertype指定了snr和sigpower的单位。powertype的选择有'db' and 'linear',如果powertype是'db',那么snr是按照dB为单位测量的,sigpower是按照dBW为单位测量的。如果powertype是线性的,snr是按照一个比率测量的,sigpower是以瓦特为单位测量的。Relationship Among SNR, Es/N0, and Eb/N0对于SNR和其他的噪声相对能量测量的关系,查看Describing the Noise Level of an AWGN Channel。
例子The commands below add white Gaussian noise to a sawtooth signal. It then plots the original and noisy signals.t = 0:.1:10;x = sawtooth(t); % Create sawtooth signal.y = awgn(x,10,'measured'); % Add white Gaussian noise.plot(t,x,t,y) % Plot both signals.legend('Original signal','Signal with AWGN');
Several other examples that illustrate the use of awgn are in Getting Started. The following demos also use awgn: basicsimdemo, vitsimdemo, and scattereyedemo.
See Alsowgn, randn, bsc, AWGN Channel
- 顶
- 0
- 踩
- 0
- 上一篇Matlab函数——wgn
- 下一篇如何给pdf文件添加目录/书签
我的同类文章
http://blog.csdn.net- •Matlab函数——crandn2013-11-03
- •Matlab函数——wgn2013-10-29
- •Matlab函数——fftshift2013-10-18
- •Matlab函数——randn2013-11-02
- •Matlab函数——dct22013-10-18