登录
首页 » Visual C++ » example4_3

example4_3

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

  • example4_6
    :滤波 fs=400 采样频率,必须大于两倍基带信号最高频率 ts=1/fs 采样时间间隔 T=5 时间窗大小 t=0:ts:T (hf1=zeros(1,N) hf1(f<=B1&f>=-B1)=1 y1=hf1.*fftshift(y) figure subplot(211) plot(f,abs(fftshift(y))/N,f,hf1, r-- ) axis([-fs/2,fs/2,0,1.2]) title( 原信号频谱 ) xlabel( f /Hz ) subplot(212) plot(f,abs(y1)/N) title( 低通滤波,截止频率90Hz ) xlabel( f /Hz ))
    2010-05-25 20:58:05下载
    积分:1
  • communicatebook
    通讯录 程序设计 大二作品 c++ 面向对象 文件读写 操作符重载(Address Book program design sophomore c++ object-oriented works of the file to read and write operator overloading)
    2009-11-14 11:17:54下载
    积分:1
  • LFM
    线性调频信号雷达脉冲压缩仿真及程序,chirp信号的产生,压缩及效果(LFM singal simulation)
    2021-04-12 16:48:56下载
    积分:1
  • fastica1
    很清晰的fastica算法,主要是有关主元分析的程序,很好的,自己编的,有不会的 可以咨询(it s a progress which is fastica)
    2013-09-13 23:41:08下载
    积分:1
  • matlabcPP
    matlab c++对接matlab c++对接(matlab c++)
    2014-02-05 22:24:21下载
    积分:1
  • tsu_izv_Estestven_nauki_2009(3)
    paper for research science
    2013-09-15 18:15:26下载
    积分:1
  • EKF_UKF
    EKF UKF 滤波算法在MATLAB仿真软件中的仿真,并进行对比(EKF UKF filtering algorithm in MATLAB software simulation, and compared)
    2013-03-08 22:10:57下载
    积分:1
  • 粗糙度matlab
    计算一维和二维表面粗糙度Ra,根据需要自行选择。(Calculate one and two dimensional surface roughness Ra, according to the needs of your choice.)
    2017-08-01 21:59:44下载
    积分:1
  • matifus
    一个用于图像融合的matlab源程序,可以用matlab仿真(A source image fusion matlab, matlab simulation can be used)
    2009-05-19 18:57:05下载
    积分:1
  • Xu-White-model
    用C++编写的xu-white模型,适合砂泥岩地层岩石物理建模,很实用(Written by C++ xu-white model, suitable for sand-shale formation rock physics modeling, it is practical)
    2020-12-25 09:59:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载