登录
首页 » Visual C++ » example4_3

example4_3

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

  • addToPath
    matlab中add path代码,初学者,大家互通有无(for matlab)
    2013-04-26 16:11:46下载
    积分:1
  • TL2
    说明:  就是个测试文件,目前还在测试研究中,请多多指教(TEST)
    2010-04-06 10:54:31下载
    积分:1
  • Memory_2005
    介绍了关于memory的相关函数,对于大多数程序员有很大帮助,希望大家多多使用(the information about memory)
    2013-10-11 11:26:50下载
    积分:1
  • PointCloud_MatLab
    基于MatLab和VC编写程序,实现点云数据的快速建模,三角网格的绘制。(MatLab, and VC-based programming to achieve fast data point cloud modeling, triangular mesh rendering.)
    2009-10-29 15:03:19下载
    积分:1
  • kalmanhsjkdskmatlab
    kalman 滤波的 matlab 程序 (Kalman filtering procedures Matlab)
    2007-04-18 13:25:58下载
    积分:1
  • Chinese-Convert-Pro-3.5.1-Final
    Nothing to do, we need to learn how to trick something on the webs
    2014-01-09 01:53:33下载
    积分:1
  • Fengzhuang_test
    vc matlab混合编程小例子!希望能给大家一点启示里面的链接库需要设置下!(vc matlab small example of mixed programming! An inspiration to give us hope that the links inside the library to set the next!)
    2011-04-25 17:15:27下载
    积分:1
  • socketip
    说明:  利用设置网卡为混沌模式,采用原始套接字的方式截获发向本机的ip包,并分析包的类型,源ip地址,目的ip地址,传输层协议等(card installed for the use of Chaos mode, using original socket intercepted a way to the machine ip packet, analysis of packet types, source ip address, purpose ip address, such as transport protocol)
    2006-05-15 13:08:10下载
    积分:1
  • BasicTime
    You all might have used CTime or CTimeSpan to manipulate the system timer. Here is an article to show you how your system timer works. I will give you an idea of port communications behind the system clock manipulations. Those who are a little biased on hardware and software interfacing practices would find this article of great help.
    2007-10-16 09:37:44下载
    积分:1
  • mtpa
    说明:  采用mtpa矢量控制方法对永磁同步电机进行转速控制,调速范围宽(pmsm mtpa controller)
    2019-08-19 19:39:33下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载