登录
首页 » Visual C++ » example4_3

example4_3

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

  • matlab
    matlab函数汇总,包含大部分图像处理函数.(matlab function summary, including the majority of image processing functions.)
    2009-12-20 11:09:53下载
    积分:1
  • Based-on-the-Matlab
    基于Matlab的m序列发生器的设计(内附matlab程序)(Based on the Matlab m sequence generator design (enclosed Matlab) )
    2012-04-19 20:05:14下载
    积分:1
  • gquad
    自己编的最新的gquad方法,非常的好用(Own series the latest gquad method, very easy to use)
    2011-09-26 13:02:18下载
    积分:1
  • mss32
    最近在看hl2,发现mdl模型必须从36转到37,哈哈,恰好看到此贴,非常感谢。(recently watching hl2, mdl model must be found from 36 to 37, haha, just to see patch. Thank you very much.)
    2007-02-03 22:38:59下载
    积分:1
  • Some-simple-optimization
    一些简单最优化方法的matlab实现,及一些方法(Some simple optimization method matlab implementation)
    2011-05-08 18:51:47下载
    积分:1
  • aircraft-war!
    模仿微信打飞机 的Demo 无bug 希望大家一起学习
    2014-11-07 21:32:32下载
    积分:1
  • ApiWithOutDeclare
    Calling Windows APIs without declaration, full Visual Basic source code example.
    2009-04-01 00:53:17下载
    积分:1
  • VCandMatlab
    Vc and matlab implement
    2012-06-15 14:29:14下载
    积分:1
  • jiediandingwei
    包括RSSI与距离模型转换,以及三边定位,高斯滤波(Including RSSI and distance model conversion, as well as trilateral positioning, Gaussian)
    2016-05-23 20:53:38下载
    积分:1
  • ANN
    详细介绍了BP神经网络和RBF神经网络的分类能力(Details of the BP neural network and RBF neural network classification ability)
    2011-04-24 11:07:47下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载