-
example4_3
例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 )
)
- 2010-05-25 20:59:59下载
- 积分:1
-
args
ARGS is a MATLAB program which demonstrates command line argument retrieval.
- 2013-02-09 06:05:46下载
- 积分:1
-
musicldr.DOC
说明: 此文件完成了音乐灯的功能,能在doc环境下顺利运行,此文件是一个设计报告,你可以很方便的看到它的功能(This document is the completion of the function of light music, the environment in the doc is running smoothly, this document is a report of a design, you can see it very convenient function)
- 2009-07-27 15:56:47下载
- 积分:1
-
work1
说明: 基本蚁群算法,,希望大家能够喜欢,很好的资源(Ant colony algorithm)
- 2011-04-17 09:39:40下载
- 积分:1
-
es_curvecaratt
calculating characteristics of a pump from experimental data
- 2011-06-24 16:55:53下载
- 积分:1
-
MATLAB-Input-and-Output-Functions
在MATLAB 编程中输入和输出函数的应用方法。(the output and input functions in MATLAB.)
- 2012-05-19 21:27:26下载
- 积分:1
-
cdrom
program for finding gaussian derivative uwb
- 2014-01-12 12:53:49下载
- 积分:1
-
inverted-Lie-theoretic-approach
基于非线性理论控制的一级倒立摆,在实物上运行可行(Based on nonlinear theory of an inverted pendulum control, running in the physical feasibility)
- 2010-08-15 21:45:31下载
- 积分:1
-
pvsystem_grid_tied4
光伏电池的matlab仿真模型,主要根据光伏电池的数学模型建立,可以仿真光伏电池随温度与光照条件变化的伏安特性。(Matlab simulation model for photovoltaic cells, photovoltaic cells based primarily on mathematical modeling, simulation of photovoltaic cells can be temperature and light conditions with changes in voltage characteristics.)
- 2021-01-07 16:48:52下载
- 积分:1
-
AF-and-DF-simulation
通信协作系统中的AF和DF的误码率方面的仿真代码(BER simulation of AF in cooperation system
)
- 2012-05-03 18:08:24下载
- 积分:1