登录
首页 » Visual C++ » example4_3

example4_3

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

  • MPPT
    matlab MPPT仿真,定步长电导增量法,在matlab2011上验证可以使用(matlab mppt)
    2020-12-11 17:39:17下载
    积分:1
  • jiance
    一个在认知无线电中的能量检测和周期检测的仿真源代码(An energy detection and cycle detection in cognitive radio simulation source code)
    2012-06-14 18:41:16下载
    积分:1
  • vesmpls1.0v22
    技术文件名称:MPLSv1.0软件模块测试规程(Technical file name: MPLSv1.0 order to test software modules)
    2009-05-11 01:01:35下载
    积分:1
  • 109201245vbandmatlab
    说明:  实现VB和matlab通信,欢迎大家下载使用(VB and matlab to achieve communication, welcome to download)
    2010-04-21 14:41:32下载
    积分:1
  • transfer
    说明:  各种数码之间的相互转换,比如2进制转10进制(Base Conversion Algorithm)
    2010-03-19 10:55:40下载
    积分:1
  • BP-neural-network--MATLAB-
    神经网络进行预测matlab,很不错,值得看看(Neural network prediction matlab, very good, worth a look)
    2013-11-15 16:54:03下载
    积分:1
  • backwardforward
    backwardfoeward load flow for distribution network
    2014-02-14 00:30:57下载
    积分:1
  • strapdown
    LM算法的MATLAB实现。Levenberg-Marquardt算法是最优化算法中的一种。最优化是寻找使得函数值最小的参数向量。(LM algorithm in MATLAB. Levenberg-Marquardt algorithm is an optimization algorithm. Optimization is to find the minimum value makes the function parameter vector.)
    2013-11-09 22:28:19下载
    积分:1
  • vc-matlab
    要在VC中成功编译Matlab引擎程序,必须包含引擎头文件engine.h并引入Matlab对应的库文件libmx.lib、libmat.lib、libeng.lib(VC to successfully compile Matlab engine procedures, must include the engine header files engine.h and the introduction of the corresponding Matlab library files libmx.lib, libmat.lib, libeng.lib)
    2007-12-10 17:21:23下载
    积分:1
  • -wavefront
    波前曲扭和幅度变化对阵列测向中相干源分辨的影响(Twisted and curved wavefront amplitude variation to distinguish the impact of coherent source direction finding in an array)
    2013-12-26 12:54:01下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载