登录
首页 » Visual C++ » example4_4

example4_4

于 2010-05-25 发布 文件大小:1KB
0 267
下载积分: 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 个回复

  • Xu-White-model
    用C++编写的xu-white模型,适合砂泥岩地层岩石物理建模,很实用(Written by C++ xu-white model, suitable for sand-shale formation rock physics modeling, it is practical)
    2020-12-25 09:59:04下载
    积分:1
  • legomindstormsnxt_r2012b_v2_3
    Simulink block library for creating models that run directly on your LEGO MINDSTORMS NXT robot
    2014-11-18 07:32:42下载
    积分:1
  • TheFirstExpT
    C语言实现数字信号处理信号过系统(FIR、IIR型滤波器,含画图子函数。) 需:include"graphcis"(C-signals over the digital signal processing systems (FIR, IIR filters, including drawing subroutine.) Must: include " graphcis" )
    2010-12-15 23:08:44下载
    积分:1
  • irradiance
    光伏电站中太阳光de 辐照度与光伏输出功率的关系(Relations photovoltaic solar power plant with an output power of irradiance)
    2021-01-28 09:48:35下载
    积分:1
  • 12452
    在vc控制台中运行,用遗传算法求解最短路径,用邻接矩阵表示路线图。(Vc console in the run, the shortest path with the genetic algorithm, said the road map with the adjacency matrix.)
    2011-05-08 09:16:11下载
    积分:1
  • cwf0002
    用c++编的matlab程序.是常微分方程解法.希望能给大家帮助,都是老师给布置的作业!谢谢!(using Matlab c addendum to the proceedings. Solution of ordinary differential equations. I hope that it provides help, teachers are to the layout of operations! Thank you!)
    2006-10-15 19:54:19下载
    积分:1
  • wer
    就是一件小小的源码,关于matlab的 (something)
    2009-04-21 20:36:11下载
    积分:1
  • matlab-signal
    matlab有关信号处理的宝典,书的前面讲的是matlab的用法,怎么样,心动了?(signal processing matlab canon that the front of the book about matlab usage, how heart?)
    2013-03-18 22:49:59下载
    积分:1
  • DEVIL
    没有什么好的程序,就是一个简简单单的8数码(No good program, that is simply one of the eight digital)
    2009-12-25 10:56:41下载
    积分:1
  • 5435
    matlab数值计算,入门基础,绝对好用(matlab numerical calculation, entry-foundation, absolutely easy to use)
    2013-03-25 21:51:00下载
    积分:1
  • 696518资源总数
  • 106148会员总数
  • 10今日下载