登录
首页 » Visual C++ » example4_3

example4_3

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

  • smatlab
    说明:  小波变换通过matlab实现s小波变换代码,给出变换结果。(Wavelet transform, through the realization of s wavelet transform matlab code, given the results of transformation.)
    2008-10-16 14:12:19下载
    积分:1
  • MatcomTest
    vc和matlab混编,通过matcon调用matlab函数,使之能简单的完成复杂算法(vc and mixed matcom)
    2009-04-02 13:34:20下载
    积分:1
  • progiymminmcablechope
    一个VC和MATLAB联合编程的简单的例子,希望能对你有所帮助,(A simple example of VC and MATLAB programming, hope to be able to help you,)
    2017-04-29 18:58:57下载
    积分:1
  • VC_Matlab_MultiThread_Demo_2009_07_03
    Visual C++ 下调用Matcom转换的Matlab代码(Visual C++ under the call of the Matlab code conversion Matcom)
    2009-07-10 17:35:32下载
    积分:1
  • matlab-voice-analysic
    说明:  matlab实现的语音分析,其中,有lpc分析。程序都经过软件验证,没有错误。(matlab implementation of speech analysis, of which there lpc analysis. Software programs have been validated without error.)
    2011-02-22 22:47:27下载
    积分:1
  • RTD2120-.GFF-FILES
    RTD2120.rar programing GFF files
    2013-07-30 20:58:35下载
    积分:1
  • gaotv5
    神经网络工具包,安装在MATLAB中,使用神经网络计算时需要安装,可以调用其中的函数(Neural network toolkit, installed in the MATLAB, the use of neural network calculation need to install, you can call the function)
    2017-11-17 20:31:02下载
    积分:1
  • D_alogo_matlab
    D算法求最短路径利用matlab解决 输出S矩阵和行向量(Dijkstra algorithm)
    2013-09-11 20:53:19下载
    积分:1
  • kalman
    说明:  kalman非常详细的原理说明,主要有介绍了几个原理公式,同时用了一个例子形象的说明原理(the introdution of kalman)
    2010-04-26 15:17:09下载
    积分:1
  • MTLAB
    MATLAB中的所有练习源程序,软件包形式,对学习MATLAB很有帮助(MATLAB source code for all exercises, the package forms of learning MATLAB helpful)
    2008-12-21 10:10:58下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载