登录
首页 » Visual C++ » example4_3

example4_3

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

  • rs_encode
    RS码编码的源代码,直接复制出来粘贴在新建工程即可用(RS coding source code, paste copied directly out ready for use in new construction)
    2013-11-15 10:05:25下载
    积分:1
  • radar-mainei-tezhengtiqu
    雷达脉冲内调制特征的提取技术,用于雷达特征分析与信号分选。这是matlab程序。(Within the radar pulse modulation feature extraction technique for radar signature analysis and signal separation. This is a matlab program.)
    2013-10-28 18:48:21下载
    积分:1
  • vc_kalman
    kalman,vc++-------------(kalman, vc++-------------)
    2010-02-01 19:33:09下载
    积分:1
  • circle1
    利用有限差分算法实现动力学方程的求解单个球体在环形容器中运动分析(Finite difference algorithm for solving the dynamic equations in a single sphere in the circular movement of the container)
    2010-11-22 16:27:32下载
    积分:1
  • 0002
    用c++实现的差分格式求解微分方程。两点边值问题的差分格式( yong chafen geshi shijiande qiujie weifenfangcheng )
    2010-05-26 22:16:42下载
    积分:1
  • matlab_vc
    如何在vc6中调用matlab引擎进行科学计算。 包括,初始化引擎,数据交换等。(How to call matlab engine vc6 for scientific computing. Include engine initialization, data exchange, etc..)
    2007-12-05 20:11:42下载
    积分:1
  • win-iotest
    并口类别控制类库源码,可以方便的实现对并口的控制操作(type library source, to facilitate the realization of the parallel port control operation)
    2006-08-10 15:52:00下载
    积分:1
  • WGUO2zipa
    关于小波去噪的MATLAB源程序序实现图像和信号的去噪可直接使用。 (On Wavelet Denoising MATLAB source sequence image and signal denoising can be used directly.)
    2012-10-07 00:36:27下载
    积分:1
  • SSystemidentiy
    Systemidentificcation,系统辨识 (Systemidentificcation, system identification)
    2012-08-12 20:52:00下载
    积分:1
  • Magnavox-LCD-37mf437-37-chirping---Badcaps-Forums
    magnovox source code
    2015-01-07 05:33:03下载
    积分:1
  • 696516资源总数
  • 106605会员总数
  • 12今日下载