登录
首页 » Visual C++ » example4_3

example4_3

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

  • vbmatlab
    使用MATLAB进行故障诊断与使用vb进行仿真校正~~里面提供了需要的数据库与数据,不好意思语句解释很少~~小弟也是初学者(Fault diagnosis using the MATLAB simulation corrected with the use of vb ~ ~ which provides the necessary databases and data, I am sorry statement to explain few ~ ~ little brother is also a beginner)
    2010-06-09 17:41:22下载
    积分:1
  • vc_matlab
    MSVC2008调用Matlab2009的方法。该资料为文档。(VC call matlab program)
    2014-12-22 15:20:23下载
    积分:1
  • cooccurrence2
    共生矩阵是MATLAB实现,在cooccurrence里有实现方法(Co-occurrence matrix is the MATLAB implementation, there realization in the cooccurrence)
    2010-09-15 21:28:21下载
    积分:1
  • feixiesuanfa
    费歇算法 用于模式识别等其他 工程应用方面的 问题 应用效果 良好(Fisher algorithm for pattern recognition and other aspects of engineering applications a good application effect)
    2007-10-16 09:46:48下载
    积分:1
  • digitalprocess
    数字信号处理报告MATLAB产生和图形显示实验报告。(Digital Signal Processing MATLAB report generation and graphical display experimental report.)
    2008-01-12 22:19:59下载
    积分:1
  • ProjetoWebProva
    prova de sistemas web
    2014-01-31 12:05:55下载
    积分:1
  • matrix-4
    This is a matrix multiplication as an example of OpenMP parallel programming.
    2015-03-13 05:07:13下载
    积分:1
  • matlab
    自适应遗传算法matlab代码,主要用于配电网路故障后恢复的研究(Adaptive genetic algorithm matlab code, mainly for the distribution of network failure recovery)
    2013-05-29 21:20:25下载
    积分:1
  • Clipboard02
    This application show how to Copý the entire contents of an multiline edit control to Clipboard and paste into another control.
    2015-03-15 17:36:40下载
    积分:1
  • 111
    利用windows提供的API中GetSystemFirmwareTable function 读取SMBIOS中的信息(Use the API provided GetSystemFirmwareTable function windows Read SMBIOS information)
    2015-03-30 14:55:29下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载