登录
首页 » Visual C++ » example4_3

example4_3

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

  • EVM
    测量EVM的M文件,这是一个很好的程序,适合初学者(evaluate EVM,attribute is M)
    2011-12-17 22:26:42下载
    积分:1
  • Sstrapdowwnt
    捷联惯性导航源程序,希望对您您有所帮助。谢谢大家可直接使用。 (Strapdown inertial navigation source, you help you. Thank you all can be used directly.)
    2012-07-26 23:34:38下载
    积分:1
  • UMAT-fuhao-shuoming
    abaqus二次开发子程序umat符号说明及实例详解,初学者必备之基础(abaqus secondary development subroutine umat symbol descriptions and examples detailed essential foundation for beginners)
    2021-04-05 16:59:04下载
    积分:1
  • CCRXLS
    vc调用matlab dll 读xls内容(vc call the matlab dll reading xls content)
    2013-04-08 21:25:30下载
    积分:1
  • firamp
    matlab linear phase FIR four type amplitude
    2013-11-21 21:43:03下载
    积分:1
  • SHADW
    shadow detection paper from net,it is value
    2013-12-19 19:43:01下载
    积分:1
  • adpcm
    g.722 code for speech compression
    2010-03-02 16:08:59下载
    积分:1
  • dulixiangyuan
    matlab 独立像素元,计算图像景象匹配中独立像元素(Matlab independent pixels, computing the image scene matching the independent elements)
    2012-06-02 14:53:03下载
    积分:1
  • PCA
    主成分分析的Matlab程序,包括完整的计算过程,相关参数计算及绘图(Principal component analysis)
    2015-01-23 11:25:04下载
    积分:1
  • As-a-rat-in-a-six-side-of-the-maze-(
    大致就是一个老鼠在一个六个边的迷宫(httpen.wikipedia.orgwikiRadial_arm_maze)里寻找食物(reward),然后找到后记忆下来 下一次去寻找的时候 可以更快的找到食物,具体要求和解释见附件,不过是英文的,里面还有2个example code也是关于(As a rat in a six side of the maze ( httpen.wikipedia.orgwikiRadial_arm_maze ) in search of food ( reward ), and then find the memory down next to find time can be faster to find food, specific requirements.zip)
    2012-09-14 17:14:06下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载