登录
首页 » Visual C++ » example4_3

example4_3

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

  • simple
    计算流体力学里常用的simple算法实现,尤其对不可压缩流体数值模拟。以库埃特流为例(Computational fluid dynamics in the simple algorithm used to achieve, especially for numerical simulation of incompressible fluid. Couette flow as an example to)
    2008-06-06 14:30:12下载
    积分:1
  • nituishexiangji
    此程序可由固定位置的标定点,逆推摄像机的世界坐标。(This procedure can be fixed by the location of the calibration points, the world coordinate inverse camera. )
    2015-03-11 14:27:22下载
    积分:1
  • matcomBCB
    使用matcom讲述MATLAB与VC++混合编程ppt格式文件(Matcom about using MATLAB and VC++ mixed programming ppt format)
    2011-12-06 19:33:24下载
    积分:1
  • advance-Matlab
    有关学习Matlab的书籍,其中也有包括c语言和c++的部分,敬请下载(Learning Matlab books, which also include c of language and c++ the part, please download)
    2013-03-13 14:09:19下载
    积分:1
  • netcheck
    海明码发送与接收程序 测试信道的可靠性 可单独设立监听端口(Hamming code to send and receive testing the reliability of channel can be set up to monitor a separate port)
    2007-12-18 15:02:09下载
    积分:1
  • read_mat
    读取matlab的mat文件(read the document mat)
    2004-08-30 22:06:34下载
    积分:1
  • zemax-Matlab
    ppt文件,讲述如何使用matlab调用zemax中数据的文档(ppt file explains how to use the data in matlab call zemax document)
    2013-08-07 13:09:18下载
    积分:1
  • fuzzydll
    模糊pid有效的对控制对象进行了控制,减少超调和响应时间(fuzzy PID control)
    2012-06-18 14:30:31下载
    积分:1
  • Match-Template
    卡尔曼滤波不错的程序,很实用,大家好好研究一起分享一起进步吧(Kalman filtering good program, very practical, we make good progress in research to share with the Bar)
    2010-01-12 19:39:11下载
    积分:1
  • Forward-normal-cloud-generator
    正向正态云发生器算法,利用Matlab或VC编程实现正向正态云发生器算法,绘制出云模型。(Forward normal cloud generator)
    2020-11-01 11:19:55下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载