登录
首页 » Visual C++ » example4_3

example4_3

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

  • xingtaixue
    数学形态学对一维信号处理程序,供大家学习参考(Mathematical morphology to one dimensional signal handler)
    2015-11-30 17:38:37下载
    积分:1
  • CompositeViewer
    OSG中怎样创建多视图,利用OSG+Win32 console application实现。(make multiply views in osg)
    2013-11-30 14:50:46下载
    积分:1
  • baogao
    高级语言程序设计 I 课程实验报告.doc 实验题目:建立简单的应用程序 (Advanced Language Program Design I course experiment on the experiment title: building a simple application)
    2009-11-10 11:54:23下载
    积分:1
  • GM1_1.m
    最原始的灰色预测,matlab程序,可直接使用(Most original gray forecast, matlab program, can be used directly)
    2015-01-21 14:34:35下载
    积分:1
  • Vccallmatlabdll
    vc调用matlab的例子,亲,使用起来非常方便哦( vc call matlab example, pro, very convenient oh)
    2016-06-13 14:49:04下载
    积分:1
  • A Fully Vectorized Code for Nonequilibrium Rf
    全耦合,非圆柱式放电腔体内等离子体的数值模拟(Numerical simulation of microwave plasma discharge at medium pressure)
    2018-03-26 09:01:47下载
    积分:1
  • DOE
    MATLAB编译,主要是与船舶相关的编译程序,简单方便,易于使用。(MATLAB compilation, mainly related to ship compiler, simple, convenient and easy to use)
    2017-07-18 09:49:11下载
    积分:1
  • gui
    matlab中使用GUI编写的一个数值插值运算来拟合需要的曲线(matlab GUI written in a numerical interpolation to fit the curve of the need )
    2012-02-11 20:23:50下载
    积分:1
  • Apriori
    Aprior算法在matlab中的算法。编程语言为C++。APPRIOR算法是关联规则的一种算法(Aprior anology in kdd)
    2011-11-01 21:24:39下载
    积分:1
  • wmflogicgenery
    由于最近做一个项目需要对MATLAB电路图做测试,且需要满足MCDC且覆盖每个门,由于 手工生成非常麻烦而且也容易出错,所以做了个工具来自动生成测试用例(With the recent need to do a project on the MATLAB test circuit, and the need to meet and MCDC coverage of each door, hand-generated as a result of a very troublesome and error-prone, so do a tool to automatically generate test cases)
    2009-06-26 09:50:36下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载