登录
首页 » Visual C++ » example4_3

example4_3

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

  • fuzzy
    模糊数学在聚类分析中的作用(matlab代码)(Fuzzy clustering analysis of the role in the (matlab code))
    2013-08-22 14:51:18下载
    积分:1
  • Programming-Matlab-and-CPP
    Programming Matlab and C++,混合编程;经典教程;
    2013-01-23 03:04:35下载
    积分:1
  • RgnDemo
    使用CRgn对象得到某一特定区域,C++精选学习源码,很好的参考资料。(Use the CRgn object to get a specific area, select learning C++ source code, a good reference.)
    2013-11-27 07:44:29下载
    积分:1
  • cumcm2014problems
    大学生数学建模的书籍以及训练习题,和答案,应该对参赛的选手有一定的帮助。(Mathematical modeling of books and training exercises, and answers for participating players should have some help.)
    2015-04-11 21:15:13下载
    积分:1
  • kernel
    这是一款关于趋势分析的程序,能够简单地分析出数据序列的趋势,以及断点(This is a on the trend analysis program, be able to simply analyze data sequence trend, and the breakpoint)
    2013-03-17 11:29:26下载
    积分:1
  • nikle
    照书上写的一个小程序,已经测试过没有问题(According to the book written by a small program, no problem has been tested)
    2011-09-28 08:43:13下载
    积分:1
  • PCF7935_product_profile
    Lorem ipsum pcf795487
    2014-09-17 05:43:56下载
    积分:1
  • SBASrc
    使用CMakeList重新组织的SBA,即稀疏矩阵光束法平差算法,希望对大家有用(Use CMakeList reorganize the SBA, namely sparse matrix bundle adjustment algorithm, we hope to useful)
    2014-02-15 14:34:03下载
    积分:1
  • sample-nvidia-cpu-gpu
    Smple code using Nvidia programs prunted in pdf file
    2014-10-01 10:59:54下载
    积分:1
  • dnwet
    自己写的matlab小程序,用于解线性方程。可以参考下(Their own small programs written in matlab for solving equations. Can refer to)
    2011-09-27 10:15:25下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载