登录
首页 » Visual C++ » example4_3

example4_3

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

  • bigplot
    说明:  声波方程正演模拟大模型样例。 包含三个地质层,分别对应速度可以自行修正。 震源函数是雷克子波。 C源程序,输出结果Matlab绘制。(Acoustic wave equation forward modeling big model of the sample. Consists of three geological layers, corresponding to the speed you can correct itself. Lake wavelet source function is. C source code, the output of Matlab draw.)
    2009-08-24 22:17:28下载
    积分:1
  • cuda_histogram
    在matlab中可以调用的程序,用c语言编写,cuda求直方图(used in caculating histogram of color images , )
    2010-09-28 09:31:32下载
    积分:1
  • Meanshif-Detection
    说明:  :Mean—shift算法是一种非参数密度估计算法,可以实现快速的最优匹配,在目标的实时跟踪领域起着非常 重要的作用。为了有效的将Mean—shift算法应用到灰度图像中,采用了以方向直方图建立目标模型的策略,提出了在灰 度图像中以Mean—shift为核心的目标跟踪算法。实验结果表明,该算法具有不受光照条件影响的优点,在低对比度的情 况下仍能实现稳定、实时的跟踪目标。(: Mean-shift algorithm is a nonparametric density estimation algorithm, the optimal matching can be fast, real-time tracking fields in the target plays an important role. In order to effectively Mean-shift algorithm will be applied to the gray image, the histogram used to establish the direction of the strategy target model is proposed in the gray image to Mean-shift tracking algorithm as the core. Experimental results show that the algorithm has the advantage of not lighting conditions, in the case of low contrast can still achieve stability, real-time tracking of targets.)
    2011-04-06 23:14:05下载
    积分:1
  • disklib
    Due to an increase in demand for and questions about direct disk access for Micrososft platforms, and due to the fact that Microsoft has no API for direct disk access, I am releasing this library much earlier than I intended at that start. I am still working on this code. (Due to an increase in demand for and questio ns about direct disk access for Micrososft plat forms, and due to the fact that Microsoft has no API for d Direct disk access, I am releasing this library much earlier than I i ntended at that start. I am still working on this code.)
    2006-05-31 01:18:58下载
    积分:1
  • rcqn
    For data which is reasonably distributed i.e., few if any outliers the result should be comparable to the std function.
    2014-12-19 08:57:48下载
    积分:1
  • 15student
    student project for start programing
    2014-12-02 16:12:27下载
    积分:1
  • TMA1
    抛物线拟合算法实现代码,已经通过测试可指直接运行(Parabola fitting algorithm code, has passed the tests can be run directly refers to)
    2013-09-25 12:33:44下载
    积分:1
  • MUSIC
    高阶累积量的music算法,包括多种music算法之间的对比分析(Cumulant music algorithm)
    2011-01-02 16:09:14下载
    积分:1
  • Upathplanningn
    规则障碍物环境下的机器人路径规规划matlab源码! (Robot path planning rules obstacle environment planning matlab source code!)
    2012-08-09 00:41:28下载
    积分:1
  • boostspi
    boos pi controller close loop
    2013-10-18 19:00:52下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载