登录
首页 » Visual C++ » example4_3

example4_3

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

  • The-nonlinear-least-square-method
    c语言非线性最小二乘法的程序,解决非线性最小二乘法问题(The nonlinear least square method)
    2014-12-10 14:46:46下载
    积分:1
  • TSP
    TSP问题(货郎担问题,旅行商问题)的模拟退火算法通用malab源程序 f目标最优值,T最优路线,d距离矩阵,t0初始温度,tf结束温度
    2010-08-20 21:33:00下载
    积分:1
  • -FDTD-
    集总元件的多网格FDTD模型及其在混合电路中的应用(Multi-Grid FDTD model and its application in the mixed lumped circuit elements)
    2013-12-04 19:26:32下载
    积分:1
  • SDT-Cleaner-v1.0---Stable-Version
    用于检测SDT和恢复SDT的例子代码,可用于ARK中的系统钩子扫描(Example of code that can be used for detection to SDT and recovery of SDT ARK system hook scan)
    2013-01-14 22:06:20下载
    积分:1
  • Long
    使用VarPtr来取得变量的内存地址 使用CopyMemory取得指定地址的内容(Use CopyMemory obtain the content of the specified address)
    2014-09-01 11:54:58下载
    积分:1
  • Guinea
    基于Guinea地理环境运输的幅轴式网络模型的Matlab实现,共勉(Network model amplitude axis Guinea geographical environment of transport based on Matlab implementation, encourage each other )
    2015-02-08 21:28:19下载
    积分:1
  • jisuanqi
    由MATLAB编的一个计算器,可以进行一些简单的运算,很实用!!!!(By MATLAB for a calculator, you can conduct some simple arithmetic, it is practical! ! ! !)
    2009-04-14 21:51:04下载
    积分:1
  • cj673
    基于人工神经网络的常用数字信号调制,isodata 迭代自组织的数据分析,现代信号处理中谱估计在matlab中的使用。( The commonly used digital signal modulation based on artificial neural network, Isodata iterative self-organizing data analysis, Modern signal processing used in the spectral estimation in matlab.)
    2017-05-08 14:40:34下载
    积分:1
  • zjj
    使用matlab的仿真平台simulink来实现直接序列扩频码变换为双极性码的转换 (Matlab simulation using simulink platform to achieve the direct sequence spread spectrum code transformation for bipolar code conversion)
    2008-06-11 10:47:55下载
    积分:1
  • matrix_add
    说明:  matlab中add函数的C++实现,即矩阵加法的实现,包含条件判断(matlab add functions in C++ implementation, the realization of the matrix addition, including conditional)
    2011-03-14 19:40:44下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载