搜索资源列表
randn
- 随机序列发生器,是一个m序列,生成函数都写在里面,位宽为4,可以改变!-random sequence generator, m is a sequence, generating function will be included in the inside, for four bit-can be changed!
jf_Box_Muller_transform
- Box-Muller变换,将[0,1]均匀分布转换为[0,1]高斯正态分布,在matlab中也可用randn函数生成正态分布。变换的思想可用于其他没有正态分布随机函数的编程语言(如C)
randn.rar
- Visual C++写的,用于生成服从高斯分布的伪随机数的代码,没有位宽为4的限制。,to generate Gaussian random numbers
matlab
- matlab switch lower(type) case uniform R=a+b*randn(M,N) case uniform R= a+(b - a)*rand(M,N- switch lower(type) case uniform R=a+b*randn(M,N) case uniform R= a+(b- a)*rand(M,N
FM_phase_noise_
- The file calculates and plots FM noise sidebands for a carrier. It also does sinusoidal modulation. This simple way of adding noise to a carrier is useful for simulation of PLLs. It turns out, though, that the mean of the randn function is not as clo
Data
- IS95中的数据流伪随机序列的产生。用matlab中randn实现-IS95 data streams to be pseudo-random sequence generation. Achieved using randn in matlab
www
- 瑞丽信道仿真 噪声信号由MATLAB函数randn(1,N)产生,它从均值为0、方差为1的正态分布中产生N个伪随机数。每次迭代时,要使用相应的标准差对噪声的幅度进行尺度变换,最后,将输入信号和噪声信号相加得到输出信号。-Ruili channel simulation noise signal by the MATLAB function randn (1, N) generated, which from the mean 0, variance for a normal distribu
AR1
- rapresents AR(1) model. dsp and correlation funtion of the ar(1) MODEL. it uses randn to generate vector and filter to do ar(1).
lms3
- w=(randn(1,M)-randn(1,M))/100 d=zeros(1,M) u=zeros(1,M) u_out=zeros(1,e_max-M) f_out=zeros(1,e_max-M) X delayed input data vector Y measured signal W coefficient vector E enhanced signal clc N=30 f
example4_4
- 例4:在sinc(t)信号中叠加噪声,分析对应频谱 fs=100 采样频率,必须大于两倍基带信号最高频率 ts=1/fs 采样时间间隔 T=2 时间窗大小 - x=x+0.1*randn(1,N) x=awgn(x,-10, measured ) figure plot(t,x) title( 时域信号图 ) xlabel( t /s ) y=fft(x,N) figure if mod(N,2)~=0
OFDMsystem
- 基于IFFT\FFT的OFDM系统仿真。完整的可运行的代码。信源用randn产生,信道为高斯白噪声,如用其他,可以方便自行修改。-Based on IFFT \ FFT of OFDM system simulation. Complete code can be run. Generated using randn source, channel for the Gaussian white noise, such as the use of other, you can easily mod
satish
- Avetis Ioannisyan avetis@60ateight.com Last Updated: 11/30/05 LMS Channel Adaptation reset randomizers randn( state ,sum(100*clock)) rand( state ,sum(100*clock)) numPoints = 5000 numTaps = 10 channel order Mu = 0
mini2
- clear all clc t=0:1/1000:10-1/1000 s=sin(2*pi*t) snr=20 s_power=var(s) varience of s linear_snr=10^(snr/10) factor=sqrt(s_power/linear_snr) noise=randn(1,length(s))*factor x=s+noise Ó É SNR¼ Æ Ë ã
randn
- cma的MATLAB仿真程序,已经仿真过,供大家参考-cma of the MATLAB simulation program has been simulated for reference
monte_carlo
- function func_baidu_monte_carlo randn( state , sum(100*clock)) 利用时钟设置随机种子,这样每次产生的随机数就不同了 -function func_baidu_monte_carlo randn( state , sum(100*clock)) 利用时钟设置随机种子,这样每次产生的随机数就不同了
FM_phase_noise_1
- The file calculates and plots FM noise sidebands for a carrier. It also does sinusoidal modulation. This simple way of adding noise to a carrier is useful for simulation of PLLs. It turns out, though, that the mean of the randn function is not as clo
histnorm
- HISTNORM Histogram normalized [...] = HISTNORM(...) works like HIST, but the frequency is normalized so that area sum is 1. Bonus usage! [...] = HISTNORM(..., plot ) plots and returns the output arguments. Be sure plot is the las
lorentzfit
- = lorentzfit (× ) lorentzfit 符合输入(× )与罗伦兹功能的形式 “ (× )= 1 / ((- 2)^ 2 + 3号) 输入 :因变量值[ 是] (× ) × :独立变量的值 输出功率 一:名单[ 1 2 3 ] 罗伦兹参数 示例 × = - 16:0.1:35 = 19.4 / ((- 7)^ 2 + 15.8)+ randn (大小(× )/ 10 ) = lorentzfit (× ) 杰瑞德·威尔斯
qpsk_g_r-
- lear N = 10^5 EB_NO = [-1:30] liu1 = zeros(1,N) liu2 = zeros(1,N) for ii = 1:length(EB_NO) m= (2*(rand(1,N)>0.5)-1) + j*(2*(rand(1,N)>0.5)-1) s = (1/sqrt(2))*m normalization of energy to 1 n = 1/sqrt(2)*[randn(1,N) + j*rand
lab1
- lear N = 10^5 EB_NO = [-1:30] liu1 = zeros(1,N) liu2 = zeros(1,N) for ii = 1:length(EB_NO) m= (2*(rand(1,N)>0.5)-1) + j*(2*(rand(1,N)>0.5)-1) s = (1/sqrt(2))*m normalization of energy to 1 n = 1/sqrt(2)*[randn(1,N) + j*rand