登录
首页 » Visual C++ » example4_3

example4_3

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

  • FDTD_3D_RCS
    使用时域有限差分法编写的计算散射截面的简单程序(Scattering cross section is calculated using a simple program written in finite difference time domain method)
    2014-02-23 21:04:03下载
    积分:1
  • VCMatlab
    本文详细介绍了在VC环境下调用Matlab文件的方法,可按照说明一步一步执行(This paper introduces in detail in the VC environment call Matlab documents can follow the step-by-step implementation)
    2007-12-27 20:11:23下载
    积分:1
  • CODE-FIX
    ARRUAM CODIGO NO VISUAL BASIC
    2014-08-20 00:54:03下载
    积分:1
  • MATLABEngClass
    说明:  VS中开发的一个C与matlab混合编程的小程序,该类可以使用到其他的MFC程序中去。 但是注意,使用时,要把matlab所在的本地文件夹中的extern中的lib和include添加到VS的工程属性的lib和include路径中去。且要添加四个lib文件。(VS in the development of a mixed C and matlab programming small programs, the class can use the program to other MFC to. Note, however, when used, should matlab local folder where the extern in the lib and include added to the VS project properties go to lib and include paths. And to add four lib.)
    2021-03-01 18:49:34下载
    积分:1
  • McluttermatlaA
    基于MATLAB软件的有关雷达杂波的的很多个程序,相信对初学入门者很有帮助 (Based on MATLAB software on the radar clutter of many programs, I believe that is helpful for beginners beginners)
    2012-07-19 17:36:40下载
    积分:1
  • savejpeg
    Here s the code! Too many people ask for this Using this code you can save an image item as a jpeg image, specifying the quality of it. Jpeg quality is the same as compression so the lower the quality, the smaller the file size. It s simple to use(Here's the code! Too many people ask for this Using this code you can save an image item as a jpe g image, specifying the quality of it. Jpeg quality is th e same as compression so the lower the quality, the smaller the file size. It's simple to use)
    2007-05-14 03:54:34下载
    积分:1
  • Read-RINeX(Matlab)
    用matlab语言读取Renix格式文件的程序代码(Read Renix format file with the matlab language code)
    2014-09-07 11:40:34下载
    积分:1
  • apm--project
    现在飞的稳定的apm给空的源代码,,可以提供参考(apm is project,)
    2014-08-19 17:53:55下载
    积分:1
  • rpls_ver1.0
    Recursive weighted partial least squares (rPLS): an ef fi cient variable selection method using PLS
    2015-02-12 20:00:00下载
    积分:1
  • zhy20070413125502276
    the project is used for the customers to learn something(important)
    2010-01-20 19:06:29下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载