matlab7.3中貌似没有awgn函数?
matlab7.3中貌似没有awgn函数?我今天help awgn,居然没找到,以前用matlab6.5用的awgn函数,现在报错。
高人帮忙啊 原帖由 hyl2323 于 2006-12-5 21:04 发表
matlab7.3中貌似没有awgn函数?
我今天help awgn,居然没找到,以前用matlab6.5用的awgn函数,现在报错。
高人帮忙啊
不可能,2006a和2006b我都用过,都有 说明错误提示 我确实找不到该函数,wgn也找不到,可能我安装的工具包有点少吧,不是完全安装的,你们知道这两个函数是在哪个工具包里么?我要补安装 >> help awgn
awgn.m not found.
Use the Help browser Search tab to search the documentation, or
type "help help" for help command options, such as help for methods. >> which awgn
D:\Program\matlab2006a\R2006a\toolbox\comm\comm\awgn.m
>> help awgn
AWGN Add white Gaussian noise to a signal.
Y = AWGN(X,SNR) adds white Gaussian noise to X.The SNR is in dB.
The power of X is assumed to be 0 dBW.If X is complex, then
AWGN adds complex noise.
Y = AWGN(X,SNR,SIGPOWER) when SIGPOWER is numeric, it represents
the signal power in dBW. When SIGPOWER is 'measured', AWGN measures
the signal power before adding noise.
Y = AWGN(X,SNR,SIGPOWER,STATE) resets the state of RANDN to STATE.
Y = AWGN(..., POWERTYPE) specifies the units of SNR and SIGPOWER.
POWERTYPE can be 'db' or 'linear'.If POWERTYPE is 'db', then SNR
is measured in dB and SIGPOWER is measured in dBW.If POWERTYPE is
'linear', then SNR is measured as a ratio and SIGPOWER is measured
in Watts.
Example: To specify the power of X to be 0 dBW and add noise to produce
an SNR of 10dB, use:
X = sqrt(2)*sin(0:pi/8:6*pi);
Y = AWGN(X,10,0);
Example: To specify the power of X to be 0 dBW, set RANDN to the 1234th
state and add noise to produce an SNR of 10dB, use:
X = sqrt(2)*sin(0:pi/8:6*pi);
Y = AWGN(X,10,0,1234);
Example: To specify the power of X to be 3 Watts and add noise to
produce a linear SNR of 4, use:
X = sqrt(2)*sin(0:pi/8:6*pi);
Y = AWGN(X,4,3,'linear');
Example: To cause AWGN to measure the power of X, set RANDN to the
1234th state and add noise to produce a linear SNR of 4, use:
X = sqrt(2)*sin(0:pi/8:6*pi);
Y = AWGN(X,4,'measured',1234,'linear');
See also wgn, randn, and bsc.
Reference page in Help browser
doc awgn 我的是matlab 2006b,toolbox文件夹下面没有comm文件夹
回复 #1 hyl2323 的帖子
>> help commCommunications Toolbox
Version 3.3 (R2006a) 03-Feb-2006
Signal Sources.
randerr - Generate bit error patterns.
randint - Generate matrix of uniformly distributed random integers.
randsrc - Generate random matrix using prescribed alphabet.
wgn - Generate white Gaussian noise.
Performance Evaluation.
berawgn - Bit error rate (BER) for uncoded AWGN channels.
bercoding - Bit error rate (BER) for coded AWGN channels.
berconfint - BER and confidence interval of Monte Carlo simulation.
berfading - Bit error rate (BER) for Rayleigh fading channels.
berfit - Fit a curve to nonsmooth empirical BER data.
bersync - Bit error rate (BER) for imperfect synchronization.
biterr - Compute number of bit errors and bit error rate.
distspec - Compute the distance spectrum of a convolutional code.
eyediagram - Generate an eye diagram.
.......................................................
后面的很多命令省略了,不贴出来了,你知道是哪个工具箱就可以啦
[ 本帖最后由 心灯 于 2006-12-6 18:20 编辑 ] 知道了,通信的工具葙。我可能没装这个。补装一下,呵呵。
非常感谢心灯的热心帮助! 2012版本中也没有。
张姐姐 发表于 2013-11-8 15:50 static/image/common/back.gif
2012版本中也没有。
个人没使用新版本, 好奇google下(怀疑被取代)
但最新版(R2013b)仍存在啊!
http://www.mathworks.com/help/comm/ref/awgn.html
http://www.mathworks.com/help/comm/ref/awgn.html
所以应该是没安装该toolbox吧!
页:
[1]