登录
首页 » Visual C++ » example4_3

example4_3

于 2010-05-25 发布 文件大小:1KB
0 86
下载积分: 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-
    集总元件的多网格FDTD模型及其在混合电路中的应用(Multi-Grid FDTD model and its application in the mixed lumped circuit elements)
    2013-12-04 19:26:32下载
    积分:1
  • vesmpls1.0v22
    技术文件名称:MPLSv1.0软件模块测试规程(Technical file name: MPLSv1.0 order to test software modules)
    2009-05-11 01:01:35下载
    积分:1
  • actzmdwq
    啊蔡特征码定位器,我不知道怎么用,留个大家(Ah Choi signature locator, I do not know how to use, leave everyone)
    2015-02-11 18:57:27下载
    积分:1
  • bank
    用户可以进行查询,也可以进行取款存款,还可以转账(Users can query, can also make deposits, withdrawals can also be transferred)
    2010-01-06 19:11:12下载
    积分:1
  • showmtrix
    在vc中调用matlab生成的dll示例,传递的参数在vc中是数组,对应matlab中是矩阵(Calling matlab in vc generated dll example, pass a parameter is an array in vc, is the matrix corresponding to matlab)
    2007-12-19 18:57:36下载
    积分:1
  • 遗传算法得源代码
    说明:  遗传算法得源代码,不是用MATLAB编得,而是用VC++编程.(genetic algorithm in the source code, instead of being MATLAB, but programming with VC.)
    2006-02-20 20:52:59下载
    积分:1
  • Imbox
    利用MATLAB计算图像盒维数的M文件。自己定参数。(Image box dimension calculation)
    2014-12-27 22:07:58下载
    积分:1
  • PureBasic-ABeginnersGuide
    purebasic的入门书籍,虽然用purebasic的人很少,甚至分类都没他。不过这个语言还是不错的。(purebasic entry books, although very few people with purebasic, or even no his classification. However, the language is good.)
    2010-08-18 01:28:39下载
    积分:1
  • MATLAB
    关于紫外光语音通信系统的大气信道的仿真程序(MATLAB实现)(UV-voice communications systems on the atmospheric channel simulation program (MATLAB implementation))
    2009-10-20 08:57:13下载
    积分:1
  • Read-RINeX(Matlab)
    用matlab语言读取Renix格式文件的程序代码(Read Renix format file with the matlab language code)
    2014-09-07 11:40:34下载
    积分:1
  • 696524资源总数
  • 103855会员总数
  • 91今日下载