登录
首页 » Visual C++ » example4_3

example4_3

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

  • 111
    利用MATLAB计算矩阵并且实用PID控制来实现比例环节的控制 (MATLAB calculations and practical use of PID control matrix to achieve a proportional control)
    2010-06-20 17:01:04下载
    积分:1
  • thickeners
    浓密机模型 自己编写的浓密机。m文件,希望能帮助你 谢谢(Thickener model by myself。Thickener model by myself.Hope to help you,and good luck.)
    2011-11-16 21:31:58下载
    积分:1
  • ISODATA
    一个简单的ISODATA聚类算法的cpp,仅供学习(A simple ISODATA clustering algorithm cpp, only to learn)
    2015-01-02 14:13:54下载
    积分:1
  • Accuracy-valuation-for-Matlab
    包括 基于MATLAB7.0 的NE(拉稀系数) RMSE MSE R2 等评价指标的计算编程程序(Including computing programming procedures of the NE, (diarrhea coefficient), RMSE, MSE and R2 .etc.based the MATLAB7.0)
    2012-09-03 03:39:11下载
    积分:1
  • 0--9shibie
    用MATLAB 实现一简单的数字(0--9)识别程序,非常好的源码。(Using MATLAB to achieve a simple number (0- 9) identification procedures, a very good source.)
    2008-01-04 10:40:19下载
    积分:1
  • cvx
    这是斯坦福大学的教授研制的软件,中国现在学习用的很广的工具,我给出的是相关的资料文章。(This is a professor at Stanford University, developed software, China is now very widely used learning tools, I give the relevant information in the article.)
    2014-11-30 12:23:40下载
    积分:1
  • longbeige
    龙贝格算法。。。。。。。。。。。 (Romberg algorithm. . . . . . . . . . .)
    2011-05-14 18:47:16下载
    积分:1
  • ArrayExcel
    类似于matlab的数组编辑类(原创)及借用BasicExcel类快速读取读入Excel数据(some class for editing array like in matlab,and read and write to excel with BasicExcel class.)
    2012-02-10 17:08:24下载
    积分:1
  • MagicBox
    Magic number.. This programme can guess your decided number, by VB simple programme.
    2009-03-17 21:31:02下载
    积分:1
  • Mechanical-design
    机械设计Matlab实现,如连杆机构的结构设计,槽轮机构的机构设计(Mechanical design and Matlab implementation, such as the linkage structure of grooved wheel mechanism design, mechanism design)
    2012-05-07 14:40:20下载
    积分:1
  • 696518资源总数
  • 105531会员总数
  • 4今日下载