登录
首页 » Visual C++ » example4_3

example4_3

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

代码说明:

   例3:分析占空比为ta的矩形脉冲频谱 T=1 时间窗大小 ta=0.5 占空比 N=256 t=linspace(-T,T,N) ts=2*T/N fs=1/ts (x=zeros(1,N) x(N/2-round(N/2*ta):N/2+round(N/2*ta))=ones(1,2*round(N/2*ta)+1) y=fft(x,N) figure plot(t,x) title([ 时域信号图 占空比为 ,num2str(ta)]) axis([-T T-0.2 1.2]) xlabel( t /s ) figure subplot(211) f=linspace(-fs/2,fs/2,N) plot(f,abs(fftshift(y))/N) title([ 矩形脉冲双边谱 脉冲时间t=[- ,num2str(ta*T), , ,num2str(ta*T), ] ]) xlabel( f /Hz ) )

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

发表评论

0 个回复

  • Read_N_Renix
    运用matlab软件进行GPS的N文件读取的matlab源代码(Matlab software using the GPS reading N matlab source code files)
    2011-09-14 11:06:33下载
    积分:1
  • Integral
    操作数值积分的类 CIntegral 的实现代码(Operation of numerical integration code for the class implementation of CIntegral)
    2010-01-18 22:16:26下载
    积分:1
  • GPSPos
    导入RENIX文件,通过卫星导航电文计算卫星的位置,并与精密星历做对比。(RENIX import files via satellite navigation data to calculate the position of the satellite, and with precise ephemeris do comparison.)
    2014-12-13 00:13:27下载
    积分:1
  • Code2
    这是《Windows高级编程第五版珍藏版》一书中的源码,11-23章,由于源码太大所以分开上传,这是下(This is the " Windows Advanced Programming Fifth Edition Collector' s Edition," a book source, 11-23 chapters, due to too much so upload separate source, which is under)
    2014-10-10 11:35:45下载
    积分:1
  • matlab_-frequency-spectrum
    MATLAB的频谱分析的具体程序及注意事项(the frequency spectrum in matlab)
    2012-10-23 19:54:38下载
    积分:1
  • QpskSim
    无线通信调制C++源代码,包含QPSK调制方式(Wireless communication modulation C++ source code, including QPSK modulation )
    2014-08-07 07:32:26下载
    积分:1
  • The-CPP-Programming-Language--Third-Edition
    Fantastically a good book on C++
    2015-01-10 01:46:59下载
    积分:1
  • optimTipsWebinar
    MATLAB软件中重要的函数的代码的源文件(An important function of MATLAB software, the code of the source file)
    2009-11-28 16:45:51下载
    积分:1
  • MMSPo
    现代信号处理中关于Levinson算法,Burg算法,,ARMA模型法,MUSIC算法,已通过测试。 (Modern signal processing on the Levinson algorithm, Burg algorithm, ARMA model law, MUSIC algorithm, has passed the test.)
    2012-07-27 13:09:01下载
    积分:1
  • 四机两区
    说明:  粒子群优化算法计算出的PSS优化模型,为四机两区模型(PSS optimization model calculated by particle swarm optimization algorithm)
    2020-12-30 00:09:00下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载