登录
首页 » Visual C++ » example4_3

example4_3

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

  • ARIMAyuce000
    基于ARIMA时间序列模型对风速进行拟合,预测短时间的风速(Based on ARIMA time series model fitting for wind speed forecasting wind speed for a short period of time )
    2016-08-13 15:58:04下载
    积分:1
  • invertedpendulum
    固高一级倒立摆的4种极点配置方法,可以达到很好的角度和位置控制。(Solid high-level, four kinds of inverted pendulum pole placement method)
    2009-05-16 07:20:19下载
    积分:1
  • fastica1
    很清晰的fastica算法,主要是有关主元分析的程序,很好的,自己编的,有不会的 可以咨询(it s a progress which is fastica)
    2013-09-13 23:41:08下载
    积分:1
  • disput
    认识共模干扰与差模干扰区别,是什么原因造成的以及怎样解决,十分有用(it is about disrupt)
    2015-04-04 10:00:41下载
    积分:1
  • STATIC_ASSERT
    BOOST中对于元编程中如何增加预编译的功能,并且增加了自定义输出错误码的功能。是学习元编程的很好的入门例子(BOOST how to add the function of pre compiled meta programming, and add custom output error code function. Is learning meta programming is a good example of entry)
    2015-01-12 17:25:32下载
    积分:1
  • Bifurcation_coexist_attractors
    在多吸引子的情况下, 求解系统完整的分岔图(more attractors in the case, a complete system for the bifurcation plan)
    2007-06-15 18:52:53下载
    积分:1
  • c
    说明:  I don t know what it is
    2010-01-31 15:40:59下载
    积分:1
  • matrixclass
    说明:  矩阵类,自己编写,通过较多考验,符合matlab编程习惯,可处理无穷维矩阵和向量(matrices, their preparation, adoption more tests, with Matlab programming habits can handle infinite dimensional matrix and vector)
    2006-03-04 10:57:21下载
    积分:1
  • gaussianiir-20111112
    Fast Gaussian Convolution with Recursive Filtering.
    2014-01-07 08:43:21下载
    积分:1
  • HYHY
    VC++调Matlab的简易程序,调出Matlab的figure图(VC++ tune simple Matlab program, bring up Matlab' s figure diagram)
    2009-12-14 16:59:51下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载