登录
首页 » Visual C++ » example4_3

example4_3

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

  • LDPC-2012-02-11
    LDPC编码的C语言实现。包括校验矩阵,生产矩阵的生成,编码,译码等。(LDPC coding in C language. Including the parity matrix, matrix production generation, encoding, decoding and the like.)
    2013-12-14 21:18:48下载
    积分:1
  • AMQexamples
    ActiveMQ CPP 使用示例。ActiveMQ 是Apache出品,最流行的,能力强劲的开源消息总线(ActiveMQ CPP example)
    2014-01-06 11:22:28下载
    积分:1
  • DEEC.matble
    分簇协议的改进协议DEEC的matlab代码,绝对正确,大家可以下载试试,对学习WSN路由协议很有帮助。(Improved clustering protocol agreement DEEC matlab code, absolutely correct, you can download to try, to learn helpful WSN routing protocol.)
    2014-01-20 17:29:25下载
    积分:1
  • SCI
    最新最全的SCI目录(大类加小类,齐全)(The newest polycysic SCI directory categories and subcategories complete )
    2010-01-21 20:25:11下载
    积分:1
  • Fingerprint_Identification_System_Implementation_V
    指纹识别系统VC和matlab实现:包涵VC和matlab实现源码!(Fingerprint Identification System VC and matlab implementation: bear with VC and the matlab implementation source!)
    2010-06-04 08:29:36下载
    积分:1
  • Project1
    C++ 生成画图数据,main函数开启matlab engine,分配存储空间,绘图(C++ calls matlab engine to plot graphics)
    2014-01-19 00:23:08下载
    积分:1
  • vc-and-matlab
    VC与MATLAB之间的转换,通过设计可以在VC环境打开matlab代码(Conversion between VC and MATLAB open the matlab code in VC environment through design)
    2013-03-14 10:36:03下载
    积分:1
  • Newton-search-algorithm
    使用Matlab coder生成Cpp文件与VC++混合编程实现牛顿搜索算法求n次方根。Matlab使用2011a版本。(Use Matlab coder generates Cpp files with VC++ mixed programming algorithm for n-th Newton root search. Matlab using 2011a version.)
    2011-11-27 14:50:46下载
    积分:1
  • 0291512780
    混沌序列发生器,一种随机序列的预测!时间序列的分析和预测!(Chaotic sequence generator, a random sequence of the forecast! Time series analysis and forecasting!)
    2007-12-03 16:29:03下载
    积分:1
  • UInfformax_Fas
    用matlab实现扩展Informax算法与固定点算法Faast ICA,可对混合后信号进行独立分量分离 已通过测试。 (Using matlab to expand Informax algorithm with fixed-point algorithm Faast ICA, independent component separation of the mixed signal has been tested.)
    2012-07-10 16:43:25下载
    积分:1
  • 696516资源总数
  • 106425会员总数
  • 12今日下载