登录
首页 » Visual C++ » example4_3

example4_3

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

  • chap7001
    自动控制原理及其PID仿真程序 1.原理 2.设计 3.仿真(automatic control thesis and pid simulink program 1.thesis 2.design 3.simulink)
    2012-05-08 19:21:45下载
    积分:1
  • 3_test
    检验实际分布是否与理论密度分布函数相符合。球面均匀分布的随机点在二维平面上的投影的密度分布(Verify whether the actual distribution consistent with the theoretical density distribution function. Spherical uniformly distributed random dot density distribution projected on a two-dimensional plane)
    2014-11-09 17:02:21下载
    积分:1
  • GPS_INS_matlab
    GPS_INS组合导航的MATLAB仿真源码(GPS_INS integrated matlab code)
    2015-03-01 14:59:59下载
    积分:1
  • dan
    求方程的根植,,仅供参考,仅供参考,仅供参考,仅供参考(Demand equation is rooted, for reference, reference, reference, reference)
    2011-09-27 10:46:56下载
    积分:1
  • HaarWavelet
    haar小波分析的类,只有头文件,输入为一个序列的信号,输出为haar小波分解后的各级参数(haar wavelet class)
    2013-12-11 09:41:20下载
    积分:1
  • OFDM
    OFDM仿真资料,以及一些仿真的程序源代码OFDM仿真资料,以及一些仿真的程序源代码OFDM仿真资料,以及一些仿真的程序源代码(OFDM simulation data, as well as some simulation program source code for OFDM simulation data, as well as some simulation program source code for OFDM simulation data, as well as some simulation program source code for)
    2009-09-10 15:50:35下载
    积分:1
  • fftshift
    主要是用c语言实现matlab中的fftshift函数的,(Mainly used c language matlab in fftshift function,)
    2013-09-22 14:57:46下载
    积分:1
  • gomory
    割平面在MATLAB里的程序,很好用,希望和大家分享(Cutting plane in the MATLAB program, useful, and would like to share)
    2012-05-30 00:02:56下载
    积分:1
  • 48TSP
    说明:  48个城市的TSP遗传算法,开发环境C++,计算结果再结合matlab进行后处理显示(48 cities in the TSP algorithm, development environment, C++, matlab results combined with post-processing display)
    2010-04-15 15:46:58下载
    积分:1
  • 7
    说明:  matlab高效编程程序源代码第七章,可以运行。(efficient programming source code matlab Chapter VII, to run.)
    2011-04-10 15:34:15下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载