登录
首页 » Visual C++ » example4_4

example4_4

于 2010-05-25 发布 文件大小:1KB
0 335
下载积分: 1 下载次数: 5

代码说明:

   例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 ) )

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • matlab_instruction
    中大数计的matlab的ppt,数学建模竞赛资料(The large numbers of dollars matlabppt)
    2014-01-22 16:45:54下载
    积分:1
  • ai-control
    电液伺服系统的智能控制研究.kdh,优秀硕士论文(Electro-hydraulic Servo System Intelligent Control. Kdh, outstanding master' s thesis)
    2009-02-12 16:05:40下载
    积分:1
  • VCreadfilesbyline(.TXT)
    逐行读取文本中的数据,自动存储到一个序列数组中(Text data read line by line, is automatically stored into an array sequence)
    2013-10-07 11:26:06下载
    积分:1
  • CPPPremier
    C++Premier(中文第四版)学习C++的红宝书(C++Premier(Chinese 4th edition))
    2014-11-17 23:30:12下载
    积分:1
  • boot_DC_DC
    boost DC DC GOOD simulation
    2014-02-14 00:25:31下载
    积分:1
  • GAencoding
    说明:  以MATLAB为工具的实现车间调度问题的源码(MATLAB as a tool to achieve shop scheduling problem source)
    2010-04-16 19:45:16下载
    积分:1
  • matlabzhifangtu
    matlab中的直方图均衡,适合初学图像处理者使用,希望采纳(matlab histogram equalization, image processing suitable for beginners to use, hope to adopt)
    2015-03-18 14:47:38下载
    积分:1
  • Wind_PMSG
    Analysis of steady state/ transient behaviour of HVDC systems due to AC/ DC Faults, commutation failure etc. using PSCAD simulating software. Also conducted studies on control methods/ protection requirements as well as distribution on the Delhi-Rihand HVDC system.
    2012-04-24 19:34:33下载
    积分:1
  • downsample
    matlab dsp中函数downsample和upsamplec代码(matlab dsp functions in downsample and upsamplec code)
    2013-11-05 14:10:03下载
    积分:1
  • wgh
    说明:  重力资料处理异常分离来分离区域异常和局部异常(Gravity anomaly separation of data processing to separate regional anomalies and local anomaly)
    2010-05-04 19:24:44下载
    积分:1
  • 696516资源总数
  • 106913会员总数
  • 8今日下载