登录
首页 » Visual C++ » example4_3

example4_3

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

  • PCF7935_product_profile
    Lorem ipsum pcf795487
    2014-09-17 05:43:56下载
    积分:1
  • OSTU
    二维OSTU方法 ,能够自动给出合适阈值 matlab环境下开发(Two-dimensional OSTU method that can automatically give the appropriate thresholds developed under matlab environment)
    2011-11-07 10:48:47下载
    积分:1
  • d2conv
    二维信号卷积,若x为N1*M1的二维信号,y为N2*M2的二维信号,则卷积为(N1+N2-1)*(M1+M2-1)的信号(Two demension signal convolution. )
    2014-08-21 12:41:40下载
    积分:1
  • Matlab-and-VCPP-mixing-programming
    Matlab_ and _VC + + mixing programming process explanation (including part of the problem solutions)(Matlab_ and _VC++ mixing programming process explanation (including part of the problem solutions))
    2011-11-23 22:44:51下载
    积分:1
  • PLL-techniology-Floyd-M.Garder
    Garder 大作,通信领域同步大拿Garder的经典著作!精通锁相环!(Garder masterpiece, the communication field synchronization big take Garder classics! Proficient in phase-locked loop!)
    2012-09-05 21:35:54下载
    积分:1
  • NumericalCaculation
    数值计算的类函数,运算能力超过Matlab(Numerical Calculation)
    2009-07-08 11:22:08下载
    积分:1
  • file_mat_test
    实现应用VC++读取mat文件,实现VC++与matlab混合编程(Achieve application VC++ to read mat file, to achieve mixed VC++ and matlab programming)
    2021-03-04 12:49:32下载
    积分:1
  • color_line
    matlab code for lines big lines little lines lines too
    2013-03-28 03:43:03下载
    积分:1
  • EKFsins
    捷联惯性导航系统的卡尔曼滤波对准程序,非常有用(alignment sins)
    2010-10-06 22:16:00下载
    积分:1
  • grayscaltransform
    说明:  一个简单的色彩迁移程序,可以顺利的实现对灰度图像的上色,程序编译通过,有较好的效果(a simple relocation process color, the smooth realization of the right color to grayscale images, compiler, better results)
    2006-02-28 09:56:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载