登录
首页 » Visual C++ » example4_3

example4_3

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

  • spline
    说明:  实现三次样条差值,与matlab实现的精度一样(Realize the difference between cubic spline, and the precision to achieve the same matlab)
    2011-04-07 10:04:18下载
    积分:1
  • variable-speed-Traffic
    程序是基于元胞自动机的交通模型,主要是针对单车道、单车变数运动的描述(Program is based on cellular automaton traffic model for the description of the movement of bicycle paths, cycling variables)
    2012-09-13 11:41:50下载
    积分:1
  • dem-basic
    dem差值计算,给定基础网格高程对相应空间迭代差值获得网格高程(dem difference calculation, given the appropriate space on the basis of the grid elevation difference of iterations to get the grid elevation)
    2015-03-19 15:52:42下载
    积分:1
  • VC-a-MATLAB-programming-in-SAR
    VC与MATLAB混合编程,可以用于SAR图像处理(VC mixed with the MATLAB programming, which can be used for SAR image processing)
    2013-12-18 20:26:20下载
    积分:1
  • 图形输出
    一个vc+matlab混合编程的例程(a mixed vc+ Matlab programming routines)
    2004-09-28 11:37:03下载
    积分:1
  • Project1
    C++ 生成画图数据,main函数开启matlab engine,分配存储空间,绘图(C++ calls matlab engine to plot graphics)
    2014-01-19 00:23:08下载
    积分:1
  • VCMATLABinterface
    关于VC和MATLAB之间建立应用接口的程序,请读者马慢慢平度,标胶都好偶的(On VC and MATLAB interface between the application procedures, the reader is slowly MA Pingdu marked plastic are good duality)
    2008-08-17 15:09:17下载
    积分:1
  • vbmatrix
    使用vb和matrix画图,调用matlab函数(Using vb and matrix drawing, call the matlab function)
    2010-06-26 09:19:36下载
    积分:1
  • q
    说明:  简单的画折线功能,单击右键示图取消,按住control键重置起点。(The painting features a simple broken line, right-click Diagram canceled, hold down the control key to reset the starting point.)
    2009-11-23 15:55:45下载
    积分:1
  • basefunction
    个人编写的应用于机械行业的arx开发函数,足够用的(Individual applications written in the mechanical industry ARX development function)
    2014-09-10 18:03:01下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载