搜索资源列表
lab2
- 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
lab3
- 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
xiaobobao
- ch3=softt(h3,thr1 clear clc I=imread( lena512.bmp ) imshow(I) I=double(I) II=I+30*randn(size(I)) figure imshow(II,[]) [a1,h1,v1,d1]=dwt2(II, sym8 ) [a2,h2,v2,d2]=dwt2(a1, sym8 ) [a3,h3,v3,d3]=dwt2(a2, sym8 ) sigma=
random-noise
- 利用matlab在图像中加入各种随机噪声,包括调用函数,以及randn使用、以及介绍send和state的区别。-Using matlab to join all kinds of random noise in the image, including the calling function, and randn use, as well as the introduction of the difference between send and state.
randn
- 正态随机数的产生 C语言源代码+原理文档 可设定产生随机数的范围-Normal random number generation+ principle of the C language source code documentation can be set to generate a random number of range
fenlixinhao
- 1+sign(cos(t)),3+sin(t),randn随机信号,三种独立成分的分离,包含程序子图。-1+ sign (cos (t)), 3+ sin (t), randn random signal, the separation of the three separate components, including the program subgraph.
ex5
- 计算输入信号的功率,根据snr添加高斯白噪声,用randn函数实现-Calculation of the input signal power, according to the SNR adding Gaussian white noise, randn function
NearestSymmetricPositiveDefinite
- nearestSPD works on any matrix, and it is reasonably fast. As a test, randn generates a matrix that is not symmetric nor is it at all positive definite in general.
yuyinxinhaochuli
- 录制一段语音 (1)对其进行时频域分析 (2)加随机噪声,并对含噪语音进行时频域分析 (3)设计滤波器对含噪语音进行滤波(wavread,fft,awgn或randn, filter等) -Frequency domain analysis (2) plus random noise, and frequency-domain analysis with noisy speech (3) design filters for filtering noisy speech (wav
script2_music_circulaire.m.tar
- fs = 8000 t = (0:1/fs:1). x1 = cos(2*pi*t*300) x2 = cos(2*pi*t*400) ha = phased.ULA( NumElements ,10, ElementSpacing ,1) ha.Element.FrequencyRange = [100e6 300e6] fc = 150e6 x = collectPlaneWave(ha,[x1 x2],[10 20 45 60] ,fc) rng def
How-to-get-SNR-in-cognitive-radio
- monte carlo simulation. to run the above simulation input" [y1,y2,y3,y4]= ed(0,1,25,2) " in command window. the "g" in the code above represents the normalisation i.e it represents variance(signal)/variance (noise) as SNR= power(signal)/power(n
channel-noise
- randn函数产生高斯白噪声信道,明显说明了randn函数的用法。-randn function generates white Gaussian noise channel, clearly illustrates the use randn function.
matlab语言添加噪声
- matlab语言添加噪声及相关程序, 在信号处理中经常需要把噪声叠加到信号上去,在叠加噪声时往往需要满足一定的信噪比,这样产生二个问题,其一噪声是否按指定的信噪比叠加,其二怎么样检验带噪信号中信噪比满足指定的信噪比。在MATLAB中可以用randn产生均值为0方差为1的正态分布白噪声,但在任意长度下x=randn(1,N),x不一定是均值为0方差为1(有些小小的偏差),这样对后续的计算会产生影响。在这里提供3个函数用于按一定的信噪比把噪声叠加到信号上去,同时可检验带噪信号中信噪比。
验证布尔运动
- 2. 布朗运动是英国植物学家在观察液体中浮游微粒的运动发现的随机现象,现在已成为随机过程理论最重要的概念之一。下列M函数brwnm.m给出了一维布朗运动(或称维纳过程),使用格式 [t,w]=brwnm(t0,tf,h) 其中[t0,tf]为时间区间,h为采样步长,w(t)为布朗运动。 function [t,w]=brwnm(t0,tf,h) t=t0:h:tf; x=randn(size(t))*sqrt(h); w(1)=0; for k=1:length(t)-1, w(
kalman-for-menuvering-targets
- Kalman filter for tracking menuvaring target. there are codes for const speed, const allc, and randn allc. enjoy
termproject
- rand, randn, randint.... you can understand my code
TimeDateGraph
- 设置随机数,读取随机数,并显示波形,设置当前时间点,并显示当前时间-setup the randn waveform and time
Digital-signal-processing
- 数字信号处理rand,randn,sinc,chirp,conv,xcorr的MATLAB程序-Digital signal processing rand, randn, sinc, chirp, conv, xcorr MATLAB program
adaptivefilter
- RLS adaptive filter channel system order sysorder = 5 Number of system points N=2000 inp = randn(N,1) n = randn(N,1) [b,a] = butter(2,0.25) Gz = tf(b,a,-1) This function is submitted to make inverse Z-transform (Matlab ce
statistical-analysis
- 随机模拟和统计分析 max,min - 最大,最小值 sum - 求和 mean - 均值 std - 标准差 sort - 排序(升序) sortrows - 按某一列排序(升序) rand - [0,1]区间均匀分布随机数 randn - 标准正态分布随机数 randperm - 1...n 随机排列 regress - 线性回归 classify - 统计聚类 *trim - 坏数据祛除 *specrnd -