-
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
-
04
说明: 一些有关最优控制理论的控制实例程序集和仿真 (Control instance assembly of the optimal control theory and simulation)
- 2012-06-11 16:32:38下载
- 积分:1
-
FFT-Matlab
MATLAB下FFT变换实用2个例子,可以进行绘制fft波形及计算THD(The MATLAB FFT transform practical two examples can draw the fft waveforms and calculate THD)
- 2012-12-23 21:51:33下载
- 积分:1
-
矢量编程潮流及最优潮流数据文件
IEEE4,14,30,57,118,300总线matlab代码(IEEE4,14,30,57118300 bus matlab code)
- 2020-12-20 08:49:09下载
- 积分:1
-
gui
使用matlab的GUI功能编写的一个计算器,可以方便快捷的使用(the Calculator program by matlab
)
- 2012-02-11 20:18:52下载
- 积分:1
-
guidedfilter
kaiming he的guided image filtering的c++代码,利用VS2010+OPENCV2.4.4实现,效果和公布的MATLAB代码相同。(C++ code for KaiMing He s guided image filtering, the result as same as matlab code which publish in the web, project is code via VS2010+OPENCV2.4.4.)
- 2013-12-15 21:38:35下载
- 积分:1
-
20082271057574919
说明: Matlab7.0的Kohonen的SOFM(自组织特征映射)源程序(Matlab7.0 of Kohonen' s SOFM (self-organizing feature map) source)
- 2011-03-27 23:42:35下载
- 积分:1
-
GreenSim
Dijkstra最短路算法通用Matlab程序
- 2010-08-20 21:29:51下载
- 积分:1
-
DLLTEST
动态库测试的例子Examples of dynamic libraries testsExamples of dynamic libraries tests(Examples of dynamic libraries tests)
- 2014-10-22 13:23:49下载
- 积分:1
-
M_VC
说明: 用matlab编写的m文件调用VC++生成的文件,即用matlab调用VC(Matlab m-files written using VC++ calls generated files, that is, VC call with matlab)
- 2011-04-12 15:22:43下载
- 积分:1