-
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
N=N-1
end
f=linspace(0,fs/2,N/2)
plot(f,abs(y(1:N/2))*2/N)
title( 叠加噪声的sinc(t)信号频谱 )
xlabel( f /Hz )
figure
y0=y(1:N/2)
P=y0.*conj(y0)/N
P=10*log10(P)
plot(f,P)
title( 功率谱 )
xlabel( f /Hz )
)
- 2010-05-25 20:59:03下载
- 积分:1
-
basin-of-attraction
利用此程序,可以找出二维离散映射henon map的吸引域(With this program, you can find the two-dimensional discrete domain of attraction map henon map)
- 2021-03-03 16:39:33下载
- 积分:1
-
lifting_97
小波去噪,利用小波系数在相邻尺度上的相关性关系,针对小波系数估计中硬阈值方法和软阈值方法的缺点,
通过对双重量收缩函数得到的阈值乘以一个合适系数进行修定的折衷方法,提出了一种新的小波域局部自适应去噪算法.实验结果表明,该方法既可以去除噪声,又可以较好地保留图像的高频细节特征.(Wavelet denoising using the wavelet coefficients in adjacent scales of the correlation relationship between the estimation of wavelet coefficients for the hard thresholding and soft thresholding shortcomings, through the contraction of the double weight of the threshold function has been multiplied by a suitable coefficient revised compromise, proposed a new wavelet-domain partially adaptive denoising algorithm. The experimental results show that the method can remove noise, also can be used to retain the details of the characteristics of high-frequency images.)
- 2007-09-07 14:48:30下载
- 积分:1
-
newton
牛顿迭代法求非线性方程的解,需输入初始值,方程,导数方程,步数,error(Newton iteration solution of nonlinear equations required to enter the initial value equation, derivative equation, step number, error)
- 2010-12-22 19:51:36下载
- 积分:1
-
jizhongxiaoboyuzhiquzao
小波阈值去噪算法的几个例子。希望对广大的初学者有点帮助。(Wavelet threshold denoising algorithm a few examples. I hope the majority of the beginners a little help.)
- 2012-05-02 21:32:33下载
- 积分:1
-
GA
说明: 用遗传算法解决旅行商问题,包括交叉,选择,变异和适应度函数计算等函数(in order to solve the problem of TSP, a GA algorithm is proposed, which including the cross, select, mutation.)
- 2015-01-04 18:36:45下载
- 积分:1
-
matlab
模拟退火法源程序,给出模拟退火法解决优化问题的matlab例子(Simulated annealing method source program)
- 2015-03-04 10:48:58下载
- 积分:1
-
23
说明: 用于实现方块编码的代码,实现图象的编码,C++代码(Coding for the realization of the code box, realize the image encoding, C++ Code)
- 2007-09-10 13:11:52下载
- 积分:1
-
prec_rec
说明: 利用MATLAB所实现的ROC曲线的函数(Function of ROC curve realized by MATLAB)
- 2020-04-16 10:44:34下载
- 积分:1
-
Desktop
沿著軌道運動的紅點,画一个红点让其沿着所画图形开始运动(Along the orbital motion of the red dot)
- 2010-11-15 10:58:00下载
- 积分:1